#CC7FF1#CC7FF1
#CC7FF1 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.176 H 313.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FF1 |
|---|---|
| RGB | rgb(204, 127, 241) |
| HSL | hsl(281, 80%, 72%) |
| HSV | hsv(281, 47%, 95%) |
| CMYK | cmyk(15.4%, 47.3%, 0%, 5.5%) |
| CIE-LAB | lab(65.25, 48.95, -45.70) |
| CIE-LCH | lch(65.25, 66.97, 316.97°) |
| OKLab | oklab(72.07% 0.1222 -0.1271) |
| OKLCH | oklch(72.07% 0.176 313.9) |
| XYZ | xyz(48.3658, 34.3682, 87.2879) |
| Luminance | 0.3437 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.55
Liliac
#C48EFD
ΔE00 4.53
Easter Purple
#C071FE
ΔE00 4.93
Light Urple
#B36FF6
ΔE00 6.51
Orchid
#DA70D6
ΔE00 6.56
Violet (CSS)
#EE82EE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FF1 #A4F17F
analogous
#937FF1 #CC7FF1 #F17FDD
triadic
#CC7FF1 #F1CC7F #7FF1CC
tetradic
#CC7FF1 #F1937F #A4F17F #7FDDF1
square
#CC7FF1 #F1937F #A4F17F #7FDDF1
split-complementary
#CC7FF1 #DDF17F #7FF193
monochromatic
#9D18DD #B648EB #CC7FF1 #E2B6F7 #F4E3FC
Accessibility & contrast
On white
2.67
#CC7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#CC7FF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FF1
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FF1 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#7DA0EE
Tritanopia (blue-blind)
#C990AD
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7ff1; /* rgb */ color: rgb(204, 127, 241); /* oklch */ color: oklch(72.1% 0.176 313.9);
Tailwind
colors: {
custom: {
50: '#dda6f6',
500: '#cc7ff1',
950: '#000000',
},
}SCSS
$custom: #cc7ff1; $custom-light: #dda6f6; $custom-dark: #000000;
JSON
{
"hex": "#cc7ff1",
"rgb": {
"r": 204,
"g": 127,
"b": 241
},
"hsl": {
"h": 280.526,
"s": 80.282,
"l": 72.157
},
"oklch": {
"l": 0.72067,
"c": 0.17628,
"h": 313.9
},
"luminance": 0.34367
}Semantic roles & 50–950 ramp
primary
#CC7FF1
secondary
#E0F4D7
accent
#DD094E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85