#CB7EFA#CB7EFA
#CB7EFA is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.187 H 311.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EFA |
|---|---|
| RGB | rgb(203, 126, 250) |
| HSL | hsl(277, 93%, 74%) |
| HSV | hsv(277, 50%, 98%) |
| CMYK | cmyk(18.8%, 49.6%, 0%, 2%) |
| CIE-LAB | lab(65.37, 51.10, -50.47) |
| CIE-LCH | lch(65.37, 71.82, 315.36°) |
| OKLab | oklab(72.27% 0.1234 -0.1409) |
| OKLCH | oklch(72.27% 0.187 311.2) |
| XYZ | xyz(49.3417, 34.5213, 94.4879) |
| Luminance | 0.3452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.70
Easter Purple
#C071FE
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.10
Light Urple
#B36FF6
ΔE00 5.69
Bright Lavender
#C760FF
ΔE00 6.36
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EFA #ADFA7E
analogous
#8D7EFA #CB7EFA #FA7EEB
triadic
#CB7EFA #FACB7E #7EFACB
tetradic
#CB7EFA #FA8D7E #ADFA7E #7EEBFA
square
#CB7EFA #FA8D7E #ADFA7E #7EEBFA
split-complementary
#CB7EFA #EBFA7E #7EFA8D
monochromatic
#9B09F4 #B343F8 #CB7EFA #E3B9FC #F3E2FE
Accessibility & contrast
On white
2.66
#CB7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#CB7EFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EFA
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EFA | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#C692B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb7efa; /* rgb */ color: rgb(203, 126, 250); /* oklch */ color: oklch(72.3% 0.187 311.2);
Tailwind
colors: {
custom: {
50: '#dda5fc',
500: '#cb7efa',
950: '#000000',
},
}SCSS
$custom: #cb7efa; $custom-light: #dda5fc; $custom-dark: #000000;
JSON
{
"hex": "#cb7efa",
"rgb": {
"r": 203,
"g": 126,
"b": 250
},
"hsl": {
"h": 277.258,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.72273,
"c": 0.18732,
"h": 311.2
},
"luminance": 0.3452
}Semantic roles & 50–950 ramp
primary
#CB7EFA
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85