#CC39E2#CC39E2
#CC39E2 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 63.1% C 0.257 H 322.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CC39E2 |
|---|---|
| RGB | rgb(204, 57, 226) |
| HSL | hsl(292, 74%, 55%) |
| HSV | hsv(292, 75%, 89%) |
| CMYK | cmyk(9.7%, 74.8%, 0%, 11.4%) |
| CIE-LAB | lab(53.23, 76.58, -56.42) |
| CIE-LCH | lch(53.23, 95.12, 323.62°) |
| OKLab | oklab(63.06% 0.2025 -0.1579) |
| OKLCH | oklch(63.06% 0.257 322.1) |
| XYZ | xyz(40.0910, 21.2569, 73.9281) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 2.13
Pinkish Purple
#D648D7
ΔE00 4.02
Hot Purple
#CB00F5
ΔE00 4.19
Mediumorchid
#BA55D3
ΔE00 4.25
Heliotrope
#D94FF5
ΔE00 5.37
Pink Purple
#EF1DE7
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC39E2 #4FE239
analogous
#7739E2 #CC39E2 #E239A4
triadic
#CC39E2 #E2CC39 #39E2CC
tetradic
#CC39E2 #E27739 #4FE239 #39A4E2
square
#CC39E2 #E27739 #4FE239 #39A4E2
split-complementary
#CC39E2 #A4E239 #39E277
monochromatic
#7D158C #AC1CC1 #CC39E2 #DA6EEA #E7A4F2
Accessibility & contrast
On white
4.00
#CC39E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#CC39E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC39E2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC39E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC39E2 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#5285DE
Tritanopia (blue-blind)
#CE5A8C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cc39e2; /* rgb */ color: rgb(204, 57, 226); /* oklch */ color: oklch(63.1% 0.257 322.1);
Tailwind
colors: {
custom: {
50: '#e07fec',
500: '#cc39e2',
950: '#000000',
},
}SCSS
$custom: #cc39e2; $custom-light: #e07fec; $custom-dark: #000000;
JSON
{
"hex": "#cc39e2",
"rgb": {
"r": 204,
"g": 57,
"b": 226
},
"hsl": {
"h": 292.189,
"s": 74.449,
"l": 55.49
},
"oklch": {
"l": 0.63057,
"c": 0.25679,
"h": 322.1
},
"luminance": 0.21255
}Semantic roles & 50–950 ramp
primary
#CC39E2
secondary
#A1DF98
accent
#F1374F
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84