#CB7EFC#CB7EFC
#CB7EFC is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.4% C 0.190 H 310.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EFC |
|---|---|
| RGB | rgb(203, 126, 252) |
| HSL | hsl(277, 95%, 74%) |
| HSV | hsv(277, 50%, 99%) |
| CMYK | cmyk(19.4%, 50%, 0%, 1.2%) |
| CIE-LAB | lab(65.47, 51.52, -51.41) |
| CIE-LCH | lch(65.47, 72.78, 315.07°) |
| OKLab | oklab(72.38% 0.1236 -0.1436) |
| OKLCH | oklch(72.38% 0.19 310.7) |
| XYZ | xyz(49.6569, 34.6474, 96.1483) |
| Luminance | 0.3465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.68
Easter Purple
#C071FE
ΔE00 3.72
Liliac
#C48EFD
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 6.30
Bright Lilac
#C95EFB
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EFC #AFFC7E
analogous
#8C7EFC #CB7EFC #FC7EEE
triadic
#CB7EFC #FCCB7E #7EFCCB
tetradic
#CB7EFC #FC8C7E #AFFC7E #7EEEFC
square
#CB7EFC #FC8C7E #AFFC7E #7EEEFC
split-complementary
#CB7EFC #EEFC7E #7EFC8C
monochromatic
#9B06F9 #B342FB #CB7EFC #E3BAFD #F3E1FE
Accessibility & contrast
On white
2.65
#CB7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#CB7EFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EFC
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EFC | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#75A0F9
Tritanopia (blue-blind)
#C593B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb7efc; /* rgb */ color: rgb(203, 126, 252); /* oklch */ color: oklch(72.4% 0.190 310.7);
Tailwind
colors: {
custom: {
50: '#dda5fe',
500: '#cb7efc',
950: '#000000',
},
}SCSS
$custom: #cb7efc; $custom-light: #dda5fe; $custom-dark: #000000;
JSON
{
"hex": "#cb7efc",
"rgb": {
"r": 203,
"g": 126,
"b": 252
},
"hsl": {
"h": 276.667,
"s": 95.455,
"l": 74.118
},
"oklch": {
"l": 0.72379,
"c": 0.18951,
"h": 310.7
},
"luminance": 0.34646
}Semantic roles & 50–950 ramp
primary
#CB7EFC
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86