#CB7EF3#CB7EF3
#CB7EF3 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.180 H 313.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EF3 |
|---|---|
| RGB | rgb(203, 126, 243) |
| HSL | hsl(279, 83%, 72%) |
| HSV | hsv(279, 48%, 95%) |
| CMYK | cmyk(16.5%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(65.03, 49.62, -47.15) |
| CIE-LCH | lch(65.03, 68.45, 316.46°) |
| OKLab | oklab(71.91% 0.1226 -0.1313) |
| OKLCH | oklch(71.91% 0.18 313) |
| XYZ | xyz(48.2644, 34.0904, 88.8143) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.08
Easter Purple
#C071FE
ΔE00 4.42
Liliac
#C48EFD
ΔE00 4.46
Light Urple
#B36FF6
ΔE00 6.06
Bright Lavender
#C760FF
ΔE00 6.69
Bright Lilac
#C95EFB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EF3 #A6F37E
analogous
#907EF3 #CB7EF3 #F37EE1
triadic
#CB7EF3 #F3CB7E #7EF3CB
tetradic
#CB7EF3 #F3907E #A6F37E #7EE1F3
square
#CB7EF3 #F3907E #A6F37E #7EE1F3
split-complementary
#CB7EF3 #E1F37E #7EF390
monochromatic
#9C15E2 #B446EE #CB7EF3 #E2B6F8 #F4E3FC
Accessibility & contrast
On white
2.69
#CB7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#CB7EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EF3
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EF3 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#C790AD
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7ef3; /* rgb */ color: rgb(203, 126, 243); /* oklch */ color: oklch(71.9% 0.180 313.0);
Tailwind
colors: {
custom: {
50: '#dda5f7',
500: '#cb7ef3',
950: '#000000',
},
}SCSS
$custom: #cb7ef3; $custom-light: #dda5f7; $custom-dark: #000000;
JSON
{
"hex": "#cb7ef3",
"rgb": {
"r": 203,
"g": 126,
"b": 243
},
"hsl": {
"h": 279.487,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.7191,
"c": 0.17965,
"h": 313
},
"luminance": 0.34089
}Semantic roles & 50–950 ramp
primary
#CB7EF3
secondary
#E1F4D7
accent
#DF0650
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85