#CB7EF8#CB7EF8
#CB7EF8 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.2% C 0.185 H 311.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EF8 |
|---|---|
| RGB | rgb(203, 126, 248) |
| HSL | hsl(278, 90%, 73%) |
| HSV | hsv(278, 49%, 97%) |
| CMYK | cmyk(18.1%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(65.28, 50.67, -49.52) |
| CIE-LCH | lch(65.28, 70.85, 315.66°) |
| OKLab | oklab(72.17% 0.1232 -0.1382) |
| OKLCH | oklch(72.17% 0.185 311.7) |
| XYZ | xyz(49.0297, 34.3965, 92.8451) |
| Luminance | 0.3440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.76
Easter Purple
#C071FE
ΔE00 3.97
Liliac
#C48EFD
ΔE00 4.18
Light Urple
#B36FF6
ΔE00 5.77
Bright Lavender
#C760FF
ΔE00 6.43
Bright Lilac
#C95EFB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EF8 #ABF87E
analogous
#8E7EF8 #CB7EF8 #F87EE8
triadic
#CB7EF8 #F8CB7E #7EF8CB
tetradic
#CB7EF8 #F88E7E #ABF87E #7EE8F8
square
#CB7EF8 #F88E7E #ABF87E #7EE8F8
split-complementary
#CB7EF8 #E8F87E #7EF88E
monochromatic
#9B0DEF #B444F5 #CB7EF8 #E2B8FB #F3E2FD
Accessibility & contrast
On white
2.67
#CB7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#CB7EF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EF8
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EF8 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609BFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#C692B0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7ef8; /* rgb */ color: rgb(203, 126, 248); /* oklch */ color: oklch(72.2% 0.185 311.7);
Tailwind
colors: {
custom: {
50: '#dda5fb',
500: '#cb7ef8',
950: '#000000',
},
}SCSS
$custom: #cb7ef8; $custom-light: #dda5fb; $custom-dark: #000000;
JSON
{
"hex": "#cb7ef8",
"rgb": {
"r": 203,
"g": 126,
"b": 248
},
"hsl": {
"h": 277.869,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.72169,
"c": 0.18512,
"h": 311.7
},
"luminance": 0.34396
}Semantic roles & 50–950 ramp
primary
#CB7EF8
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85