#CB7EF4#CB7EF4
#CB7EF4 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.0% C 0.181 H 312.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EF4 |
|---|---|
| RGB | rgb(203, 126, 244) |
| HSL | hsl(279, 84%, 73%) |
| HSV | hsv(279, 48%, 96%) |
| CMYK | cmyk(16.8%, 48.4%, 0%, 4.3%) |
| CIE-LAB | lab(65.08, 49.83, -47.63) |
| CIE-LCH | lch(65.08, 68.93, 316.29°) |
| OKLab | oklab(71.96% 0.1227 -0.1327) |
| OKLCH | oklch(71.96% 0.181 312.8) |
| XYZ | xyz(48.4158, 34.1510, 89.6117) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.00
Easter Purple
#C071FE
ΔE00 4.32
Liliac
#C48EFD
ΔE00 4.39
Light Urple
#B36FF6
ΔE00 5.99
Bright Lavender
#C760FF
ΔE00 6.63
Bright Lilac
#C95EFB
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EF4 #A7F47E
analogous
#907EF4 #CB7EF4 #F47EE2
triadic
#CB7EF4 #F4CB7E #7EF4CB
tetradic
#CB7EF4 #F4907E #A7F47E #7EE2F4
square
#CB7EF4 #F4907E #A7F47E #7EE2F4
split-complementary
#CB7EF4 #E2F47E #7EF490
monochromatic
#9C13E4 #B446EF #CB7EF4 #E2B6F9 #F4E3FD
Accessibility & contrast
On white
2.68
#CB7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CB7EF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EF4
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EF4 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#79A0F1
Tritanopia (blue-blind)
#C790AE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7ef4; /* rgb */ color: rgb(203, 126, 244); /* oklch */ color: oklch(72.0% 0.181 312.8);
Tailwind
colors: {
custom: {
50: '#dda5f8',
500: '#cb7ef4',
950: '#000000',
},
}SCSS
$custom: #cb7ef4; $custom-light: #dda5f8; $custom-dark: #000000;
JSON
{
"hex": "#cb7ef4",
"rgb": {
"r": 203,
"g": 126,
"b": 244
},
"hsl": {
"h": 279.153,
"s": 84.286,
"l": 72.549
},
"oklch": {
"l": 0.71962,
"c": 0.18075,
"h": 312.8
},
"luminance": 0.3415
}Semantic roles & 50–950 ramp
primary
#CB7EF4
secondary
#E1F5D6
accent
#E10551
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85