#CB7DE2#CB7DE2
#CB7DE2 is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.163 H 318.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7DE2 |
|---|---|
| RGB | rgb(203, 125, 226) |
| HSL | hsl(286, 64%, 69%) |
| HSV | hsv(286, 45%, 89%) |
| CMYK | cmyk(10.2%, 44.7%, 0%, 11.4%) |
| CIE-LAB | lab(64.04, 46.65, -39.30) |
| CIE-LCH | lch(64.04, 61.00, 319.89°) |
| OKLab | oklab(70.92% 0.1216 -0.1086) |
| OKLCH | oklch(70.92% 0.163 318.2) |
| XYZ | xyz(45.6878, 32.8562, 75.8720) |
| Luminance | 0.3286 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.62
Light Purple
#BF77F6
ΔE00 5.17
Lavender Pink
#DD85D7
ΔE00 5.59
Orchid (survey)
#C875C4
ΔE00 5.61
Violet (CSS)
#EE82EE
ΔE00 6.10
Purply Pink
#F075E6
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7DE2 #94E27D
analogous
#997DE2 #CB7DE2 #E27DC7
triadic
#CB7DE2 #E2CB7D #7DE2CB
tetradic
#CB7DE2 #E2997D #94E27D #7DC7E2
square
#CB7DE2 #E2997D #94E27D #7DC7E2
split-complementary
#CB7DE2 #C7E27D #7DE299
monochromatic
#9A2ABB #B74BD7 #CB7DE2 #DFAFED #F3E1F8
Accessibility & contrast
On white
2.77
#CB7DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#CB7DE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7DE2
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7DE2 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#CB8BA5
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cb7de2; /* rgb */ color: rgb(203, 125, 226); /* oklch */ color: oklch(70.9% 0.163 318.2);
Tailwind
colors: {
custom: {
50: '#dca4eb',
500: '#cb7de2',
950: '#000000',
},
}SCSS
$custom: #cb7de2; $custom-light: #dca4eb; $custom-dark: #000000;
JSON
{
"hex": "#cb7de2",
"rgb": {
"r": 203,
"g": 125,
"b": 226
},
"hsl": {
"h": 286.337,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.70916,
"c": 0.16301,
"h": 318.2
},
"luminance": 0.32855
}Semantic roles & 50–950 ramp
primary
#CB7DE2
secondary
#D5ECCE
accent
#CB1A43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84