#CB7EDF#CB7EDF
#CB7EDF is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.158 H 319.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EDF |
|---|---|
| RGB | rgb(203, 126, 223) |
| HSL | hsl(288, 60%, 68%) |
| HSV | hsv(288, 43%, 87%) |
| CMYK | cmyk(9%, 43.5%, 0%, 12.5%) |
| CIE-LAB | lab(64.12, 45.53, -37.52) |
| CIE-LCH | lch(64.12, 59.00, 320.51°) |
| OKLab | oklab(70.93% 0.1196 -0.1035) |
| OKLCH | oklch(70.93% 0.158 319.1) |
| XYZ | xyz(45.4070, 32.9474, 73.7653) |
| Luminance | 0.3295 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.43
Lavender Pink
#DD85D7
ΔE00 5.08
Orchid (survey)
#C875C4
ΔE00 5.14
Light Purple
#BF77F6
ΔE00 5.78
Violet (CSS)
#EE82EE
ΔE00 6.00
Purply Pink
#F075E6
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EDF #92DF7E
analogous
#9A7EDF #CB7EDF #DF7EC2
triadic
#CB7EDF #DFCB7E #7EDFCB
tetradic
#CB7EDF #DF9A7E #92DF7E #7EC2DF
square
#CB7EDF #DF9A7E #92DF7E #7EC2DF
split-complementary
#CB7EDF #C2DF7E #7EDF9A
monochromatic
#992DB6 #B74DD3 #CB7EDF #DFAFEB #F3E0F7
Accessibility & contrast
On white
2.77
#CB7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#CB7EDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EDF
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EDF | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#CC8BA4
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cb7edf; /* rgb */ color: rgb(203, 126, 223); /* oklch */ color: oklch(70.9% 0.158 319.1);
Tailwind
colors: {
custom: {
50: '#dca5e9',
500: '#cb7edf',
950: '#000000',
},
}SCSS
$custom: #cb7edf; $custom-light: #dca5e9; $custom-dark: #000000;
JSON
{
"hex": "#cb7edf",
"rgb": {
"r": 203,
"g": 126,
"b": 223
},
"hsl": {
"h": 287.629,
"s": 60.248,
"l": 68.431
},
"oklch": {
"l": 0.70928,
"c": 0.15818,
"h": 319.1
},
"luminance": 0.32946
}Semantic roles & 50–950 ramp
primary
#CB7EDF
secondary
#D4EBCE
accent
#C81E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84