#CB7EF0#CB7EF0
#CB7EF0 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.8% C 0.176 H 313.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EF0 |
|---|---|
| RGB | rgb(203, 126, 240) |
| HSL | hsl(281, 79%, 72%) |
| HSV | hsv(281, 48%, 94%) |
| CMYK | cmyk(15.4%, 47.5%, 0%, 5.9%) |
| CIE-LAB | lab(64.89, 48.99, -45.73) |
| CIE-LCH | lch(64.89, 67.01, 316.97°) |
| OKLab | oklab(71.76% 0.1222 -0.1272) |
| OKLCH | oklch(71.76% 0.176 313.9) |
| XYZ | xyz(47.8151, 33.9107, 86.4478) |
| Luminance | 0.3391 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.36
Liliac
#C48EFD
ΔE00 4.69
Easter Purple
#C071FE
ΔE00 4.75
Light Urple
#B36FF6
ΔE00 6.28
Orchid
#DA70D6
ΔE00 6.47
Violet (CSS)
#EE82EE
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EF0 #A3F07E
analogous
#927EF0 #CB7EF0 #F07EDC
triadic
#CB7EF0 #F0CB7E #7EF0CB
tetradic
#CB7EF0 #F0927E #A3F07E #7EDCF0
square
#CB7EF0 #F0927E #A3F07E #7EDCF0
split-complementary
#CB7EF0 #DCF07E #7EF092
monochromatic
#9C19DA #B547EA #CB7EF0 #E1B5F6 #F4E4FC
Accessibility & contrast
On white
2.70
#CB7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#CB7EF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EF0
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EF0 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#7C9FED
Tritanopia (blue-blind)
#C88FAC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7ef0; /* rgb */ color: rgb(203, 126, 240); /* oklch */ color: oklch(71.8% 0.176 313.9);
Tailwind
colors: {
custom: {
50: '#dda5f5',
500: '#cb7ef0',
950: '#000000',
},
}SCSS
$custom: #cb7ef0; $custom-light: #dda5f5; $custom-dark: #000000;
JSON
{
"hex": "#cb7ef0",
"rgb": {
"r": 203,
"g": 126,
"b": 240
},
"hsl": {
"h": 280.526,
"s": 79.167,
"l": 71.765
},
"oklch": {
"l": 0.71758,
"c": 0.17639,
"h": 313.9
},
"luminance": 0.33909
}Semantic roles & 50–950 ramp
primary
#CB7EF0
secondary
#E0F3D6
accent
#DB0A4E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85