#CC7FE3#CC7FE3
#CC7FE3 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.161 H 318.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FE3 |
|---|---|
| RGB | rgb(204, 127, 227) |
| HSL | hsl(286, 64%, 69%) |
| HSV | hsv(286, 44%, 89%) |
| CMYK | cmyk(10.1%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(64.61, 46.09, -38.96) |
| CIE-LCH | lch(64.61, 60.35, 319.79°) |
| OKLab | oklab(71.38% 0.1201 -0.1076) |
| OKLCH | oklch(71.38% 0.161 318.1) |
| XYZ | xyz(46.3544, 33.5636, 76.6948) |
| Luminance | 0.3356 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.82
Lavender Pink
#DD85D7
ΔE00 5.35
Light Purple
#BF77F6
ΔE00 5.38
Orchid (survey)
#C875C4
ΔE00 5.81
Violet (CSS)
#EE82EE
ΔE00 5.84
Liliac
#C48EFD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FE3 #96E37F
analogous
#9A7FE3 #CC7FE3 #E37FC8
triadic
#CC7FE3 #E3CC7F #7FE3CC
tetradic
#CC7FE3 #E39A7F #96E37F #7FC8E3
square
#CC7FE3 #E39A7F #96E37F #7FC8E3
split-complementary
#CC7FE3 #C8E37F #7FE39A
monochromatic
#9C2ABE #B84DD8 #CC7FE3 #E0B1EE #F4E3F9
Accessibility & contrast
On white
2.72
#CC7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#CC7FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FE3
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FE3 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F98E7
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#CC8CA6
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc7fe3; /* rgb */ color: rgb(204, 127, 227); /* oklch */ color: oklch(71.4% 0.161 318.1);
Tailwind
colors: {
custom: {
50: '#dda6ec',
500: '#cc7fe3',
950: '#000000',
},
}SCSS
$custom: #cc7fe3; $custom-light: #dda6ec; $custom-dark: #000000;
JSON
{
"hex": "#cc7fe3",
"rgb": {
"r": 204,
"g": 127,
"b": 227
},
"hsl": {
"h": 286.2,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.71382,
"c": 0.16124,
"h": 318.1
},
"luminance": 0.33562
}Semantic roles & 50–950 ramp
primary
#CC7FE3
secondary
#D7EDD0
accent
#CC1A43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84