#CC2CFF

A medium, vivid magenta closely aligning with Darkviolet.

About #CC2CFF

When working with digital screens, the color #CC2CFF is rendered by mixing light. It is closely associated with the named CSS color Darkviolet. This translates to an RGB value of rgb(204, 44, 255).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 20% Cyan, 83% Magenta, 0% Yellow, and 0% Black. The HSL representation is 285.5° hue, 100.0% saturation, and 58.6% lightness.

When using this color as a background, text legibility must be considered. To prevent eye strain, #000000 text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#CC2CFF
RGB204, 44, 255
HSL285.5°, 100.0%, 58.6%
CMYK20%, 83%, 0%, 0%
HSV285.5°, 82.7%, 100.0%
LAB53.9, 85.2, -71.6
XYZ43.9, 21.9, 96.5
Decimal13380863

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

3.91:1
Text on #FFFFFF
AA Large
5.37:1
Text on #000000
AA
3.74:1
Text on #F8FAFC
AA Large
4.57:1
Text on #0F172A
AA

CSS Implementation

.bg-color { background-color: #CC2CFF; }
.text-color { color: #CC2CFF; }
.border-color { border: 2px solid #CC2CFF; }

Similar Colors

Darkviolet
#9400D3