#CC7FF3#CC7FF3
#CC7FF3 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.178 H 313.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FF3 |
|---|---|
| RGB | rgb(204, 127, 243) |
| HSL | hsl(280, 83%, 73%) |
| HSV | hsv(280, 48%, 95%) |
| CMYK | cmyk(16%, 47.7%, 0%, 4.7%) |
| CIE-LAB | lab(65.35, 49.37, -46.65) |
| CIE-LCH | lch(65.35, 67.92, 316.62°) |
| OKLab | oklab(72.17% 0.1225 -0.1298) |
| OKLCH | oklch(72.17% 0.178 313.3) |
| XYZ | xyz(48.6662, 34.4883, 88.8699) |
| Luminance | 0.3449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.37
Liliac
#C48EFD
ΔE00 4.37
Easter Purple
#C071FE
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 6.36
Violet (CSS)
#EE82EE
ΔE00 6.79
Orchid
#DA70D6
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FF3 #A6F37F
analogous
#927FF3 #CC7FF3 #F37FE0
triadic
#CC7FF3 #F3CC7F #7FF3CC
tetradic
#CC7FF3 #F3927F #A6F37F #7FE0F3
square
#CC7FF3 #F3927F #A6F37F #7FE0F3
split-complementary
#CC7FF3 #E0F37F #7FF392
monochromatic
#9D15E2 #B647EE #CC7FF3 #E2B7F8 #F4E3FC
Accessibility & contrast
On white
2.66
#CC7FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#CC7FF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FF3
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FF3 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF7
Deuteranopia (green-blind)
#7CA1F0
Tritanopia (blue-blind)
#C991AE
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cc7ff3; /* rgb */ color: rgb(204, 127, 243); /* oklch */ color: oklch(72.2% 0.178 313.3);
Tailwind
colors: {
custom: {
50: '#dea6f7',
500: '#cc7ff3',
950: '#000000',
},
}SCSS
$custom: #cc7ff3; $custom-light: #dea6f7; $custom-dark: #000000;
JSON
{
"hex": "#cc7ff3",
"rgb": {
"r": 204,
"g": 127,
"b": 243
},
"hsl": {
"h": 279.828,
"s": 82.857,
"l": 72.549
},
"oklch": {
"l": 0.72168,
"c": 0.17846,
"h": 313.3
},
"luminance": 0.34487
}Semantic roles & 50–950 ramp
primary
#CC7FF3
secondary
#E1F4D7
accent
#DF064F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85