#CC7FDA#CC7FDA
#CC7FDA is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.152 H 321.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FDA |
|---|---|
| RGB | rgb(204, 127, 218) |
| HSL | hsl(291, 55%, 68%) |
| HSV | hsv(291, 42%, 85%) |
| CMYK | cmyk(6.4%, 41.7%, 0%, 14.5%) |
| CIE-LAB | lab(64.23, 44.32, -34.56) |
| CIE-LCH | lch(64.23, 56.20, 322.05°) |
| OKLab | oklab(70.96% 0.1184 -0.095) |
| OKLCH | oklch(70.96% 0.152 321.3) |
| XYZ | xyz(45.1446, 33.0797, 70.3231) |
| Luminance | 0.3308 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.08
Lavender Pink
#DD85D7
ΔE00 4.16
Orchid (survey)
#C875C4
ΔE00 4.33
Violet (CSS)
#EE82EE
ΔE00 5.83
Purply Pink
#F075E6
ΔE00 6.08
Pale Purple
#B790D4
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FDA #8DDA7F
analogous
#9E7FDA #CC7FDA #DA7FBB
triadic
#CC7FDA #DACC7F #7FDACC
tetradic
#CC7FDA #DA9E7F #8DDA7F #7FBBDA
square
#CC7FDA #DA9E7F #8DDA7F #7FBBDA
split-complementary
#CC7FDA #BBDA7F #7FDA9E
monochromatic
#9A32AD #B950CC #CC7FDA #DFAEE8 #F2DEF5
Accessibility & contrast
On white
2.76
#CC7FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#CC7FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FDA
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FDA | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#889FD7
Tritanopia (blue-blind)
#CE8AA2
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cc7fda; /* rgb */ color: rgb(204, 127, 218); /* oklch */ color: oklch(71.0% 0.152 321.3);
Tailwind
colors: {
custom: {
50: '#dda6e5',
500: '#cc7fda',
950: '#000000',
},
}SCSS
$custom: #cc7fda; $custom-light: #dda6e5; $custom-dark: #000000;
JSON
{
"hex": "#cc7fda",
"rgb": {
"r": 204,
"g": 127,
"b": 218
},
"hsl": {
"h": 290.769,
"s": 55.152,
"l": 67.647
},
"oklch": {
"l": 0.70963,
"c": 0.15181,
"h": 321.3
},
"luminance": 0.33078
}Semantic roles & 50–950 ramp
primary
#CC7FDA
secondary
#D1E9CC
accent
#C3233B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84