#CB7EF7#CB7EF7
#CB7EF7 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.184 H 312.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EF7 |
|---|---|
| RGB | rgb(203, 126, 247) |
| HSL | hsl(278, 88%, 73%) |
| HSV | hsv(278, 49%, 97%) |
| CMYK | cmyk(17.8%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(65.23, 50.46, -49.05) |
| CIE-LCH | lch(65.23, 70.37, 315.81°) |
| OKLab | oklab(72.12% 0.1231 -0.1368) |
| OKLCH | oklch(72.12% 0.184 312) |
| XYZ | xyz(48.8750, 34.3347, 92.0302) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.81
Easter Purple
#C071FE
ΔE00 4.05
Liliac
#C48EFD
ΔE00 4.22
Light Urple
#B36FF6
ΔE00 5.82
Bright Lavender
#C760FF
ΔE00 6.47
Bright Lilac
#C95EFB
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EF7 #AAF77E
analogous
#8E7EF7 #CB7EF7 #F77EE6
triadic
#CB7EF7 #F7CB7E #7EF7CB
tetradic
#CB7EF7 #F78E7E #AAF77E #7EE6F7
square
#CB7EF7 #F78E7E #AAF77E #7EE6F7
split-complementary
#CB7EF7 #E6F77E #7EF78E
monochromatic
#9B0FEC #B444F3 #CB7EF7 #E2B8FB #F3E2FD
Accessibility & contrast
On white
2.67
#CB7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#CB7EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EF7
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EF7 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#C691AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7ef7; /* rgb */ color: rgb(203, 126, 247); /* oklch */ color: oklch(72.1% 0.184 312.0);
Tailwind
colors: {
custom: {
50: '#dda5fa',
500: '#cb7ef7',
950: '#000000',
},
}SCSS
$custom: #cb7ef7; $custom-light: #dda5fa; $custom-dark: #000000;
JSON
{
"hex": "#cb7ef7",
"rgb": {
"r": 203,
"g": 126,
"b": 247
},
"hsl": {
"h": 278.182,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.72117,
"c": 0.18403,
"h": 312
},
"luminance": 0.34334
}Semantic roles & 50–950 ramp
primary
#CB7EF7
secondary
#E1F5D6
accent
#E50154
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85