#CC7BED#CC7BED
#CC7BED is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.178 H 315.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7BED |
|---|---|
| RGB | rgb(204, 123, 237) |
| HSL | hsl(283, 76%, 71%) |
| HSV | hsv(283, 48%, 93%) |
| CMYK | cmyk(13.9%, 48.1%, 0%, 7.1%) |
| CIE-LAB | lab(64.26, 50.20, -45.06) |
| CIE-LCH | lch(64.26, 67.46, 318.09°) |
| OKLab | oklab(71.27% 0.1271 -0.1252) |
| OKLCH | oklch(71.27% 0.178 315.4) |
| XYZ | xyz(47.2685, 33.1190, 84.0070) |
| Luminance | 0.3312 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.54
Easter Purple
#C071FE
ΔE00 4.82
Liliac
#C48EFD
ΔE00 5.55
Orchid
#DA70D6
ΔE00 5.73
Light Urple
#B36FF6
ΔE00 6.30
Bright Lilac
#C95EFB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7BED #9CED7B
analogous
#937BED #CC7BED #ED7BD5
triadic
#CC7BED #EDCC7B #7BEDCC
tetradic
#CC7BED #ED937B #9CED7B #7BD5ED
square
#CC7BED #ED937B #9CED7B #7BD5ED
split-complementary
#CC7BED #D5ED7B #7BED93
monochromatic
#9D1DD1 #B745E6 #CC7BED #E1B1F4 #F5E4FB
Accessibility & contrast
On white
2.75
#CC7BED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#CC7BED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7BED
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7BED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7BED | 1.00 | 2.75 | 7.62 | 7.62 |
| #FFFFFF | 2.75 | 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)
#6497F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#CA8CA9
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cc7bed; /* rgb */ color: rgb(204, 123, 237); /* oklch */ color: oklch(71.3% 0.178 315.4);
Tailwind
colors: {
custom: {
50: '#dea3f3',
500: '#cc7bed',
950: '#000000',
},
}SCSS
$custom: #cc7bed; $custom-light: #dea3f3; $custom-dark: #000000;
JSON
{
"hex": "#cc7bed",
"rgb": {
"r": 204,
"g": 123,
"b": 237
},
"hsl": {
"h": 282.632,
"s": 76,
"l": 70.588
},
"oklch": {
"l": 0.71265,
"c": 0.17841,
"h": 315.4
},
"luminance": 0.33118
}Semantic roles & 50–950 ramp
primary
#CC7BED
secondary
#DBF1D2
accent
#D80D48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85