#CC7BF6#CC7BF6
#CC7BF6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.188 H 313.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7BF6 |
|---|---|
| RGB | rgb(204, 123, 246) |
| HSL | hsl(280, 87%, 72%) |
| HSV | hsv(280, 50%, 96%) |
| CMYK | cmyk(17.1%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(64.69, 52.07, -49.34) |
| CIE-LCH | lch(64.69, 71.73, 316.54°) |
| OKLab | oklab(71.73% 0.1282 -0.1376) |
| OKLCH | oklch(71.73% 0.188 313) |
| XYZ | xyz(48.6165, 33.6583, 91.1066) |
| Luminance | 0.3366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.67
Easter Purple
#C071FE
ΔE00 3.79
Liliac
#C48EFD
ΔE00 4.92
Light Urple
#B36FF6
ΔE00 5.61
Bright Lavender
#C760FF
ΔE00 5.93
Bright Lilac
#C95EFB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7BF6 #A5F67B
analogous
#8E7BF6 #CC7BF6 #F67BE3
triadic
#CC7BF6 #F6CC7B #7BF6CC
tetradic
#CC7BF6 #F68E7B #A5F67B #7BE3F6
square
#CC7BF6 #F68E7B #A5F67B #7BE3F6
split-complementary
#CC7BF6 #E3F67B #7BF68E
monochromatic
#9D10E7 #B642F2 #CC7BF6 #E2B4FA #F4E2FD
Accessibility & contrast
On white
2.72
#CC7BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CC7BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7BF6
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7BF6 | 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)
#5E99FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C88FAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc7bf6; /* rgb */ color: rgb(204, 123, 246); /* oklch */ color: oklch(71.7% 0.188 313.0);
Tailwind
colors: {
custom: {
50: '#dea3f9',
500: '#cc7bf6',
950: '#000000',
},
}SCSS
$custom: #cc7bf6; $custom-light: #dea3f9; $custom-dark: #000000;
JSON
{
"hex": "#cc7bf6",
"rgb": {
"r": 204,
"g": 123,
"b": 246
},
"hsl": {
"h": 279.512,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.71727,
"c": 0.18805,
"h": 313
},
"luminance": 0.33657
}Semantic roles & 50–950 ramp
primary
#CC7BF6
secondary
#E1F5D6
accent
#E4024F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85