#CC7CF2#CC7CF2
#CC7CF2 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.182 H 313.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CF2 |
|---|---|
| RGB | rgb(204, 124, 242) |
| HSL | hsl(281, 82%, 72%) |
| HSV | hsv(281, 49%, 95%) |
| CMYK | cmyk(15.7%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(64.70, 50.72, -47.13) |
| CIE-LCH | lch(64.70, 69.23, 317.10°) |
| OKLab | oklab(71.67% 0.1264 -0.1312) |
| OKLCH | oklch(71.67% 0.182 313.9) |
| XYZ | xyz(48.1339, 33.6647, 87.9495) |
| Luminance | 0.3366 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.09
Easter Purple
#C071FE
ΔE00 4.35
Liliac
#C48EFD
ΔE00 4.97
Light Urple
#B36FF6
ΔE00 6.01
Bright Lavender
#C760FF
ΔE00 6.39
Bright Lilac
#C95EFB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CF2 #A2F27C
analogous
#917CF2 #CC7CF2 #F27CDD
triadic
#CC7CF2 #F2CC7C #7CF2CC
tetradic
#CC7CF2 #F2917C #A2F27C #7CDDF2
square
#CC7CF2 #F2917C #A2F27C #7CDDF2
split-complementary
#CC7CF2 #DDF27C #7CF291
monochromatic
#9D16DE #B644EC #CC7CF2 #E2B4F8 #F4E3FC
Accessibility & contrast
On white
2.72
#CC7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CC7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CF2
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CF2 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#C98EAC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc7cf2; /* rgb */ color: rgb(204, 124, 242); /* oklch */ color: oklch(71.7% 0.182 313.9);
Tailwind
colors: {
custom: {
50: '#dea4f7',
500: '#cc7cf2',
950: '#000000',
},
}SCSS
$custom: #cc7cf2; $custom-light: #dea4f7; $custom-dark: #000000;
JSON
{
"hex": "#cc7cf2",
"rgb": {
"r": 204,
"g": 124,
"b": 242
},
"hsl": {
"h": 280.678,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.71668,
"c": 0.18216,
"h": 313.9
},
"luminance": 0.33663
}Semantic roles & 50–950 ramp
primary
#CC7CF2
secondary
#E0F4D6
accent
#DE074C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85