#CB7AF9#CB7AF9
#CB7AF9 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.6% C 0.192 H 311.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7AF9 |
|---|---|
| RGB | rgb(203, 122, 249) |
| HSL | hsl(278, 91%, 73%) |
| HSV | hsv(278, 51%, 98%) |
| CMYK | cmyk(18.5%, 51%, 0%, 2.4%) |
| CIE-LAB | lab(64.53, 52.95, -51.26) |
| CIE-LCH | lch(64.53, 73.69, 315.93°) |
| OKLab | oklab(71.63% 0.1286 -0.1432) |
| OKLCH | oklch(71.63% 0.192 311.9) |
| XYZ | xyz(48.6840, 33.4562, 93.4972) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.27
Easter Purple
#C071FE
ΔE00 3.24
Liliac
#C48EFD
ΔE00 4.95
Light Urple
#B36FF6
ΔE00 5.18
Bright Lavender
#C760FF
ΔE00 5.53
Bright Lilac
#C95EFB
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7AF9 #A8F97A
analogous
#8C7AF9 #CB7AF9 #F97AE7
triadic
#CB7AF9 #F9CB7A #7AF9CB
tetradic
#CB7AF9 #F98C7A #A8F97A #7AE7F9
square
#CB7AF9 #F98C7A #A8F97A #7AE7F9
split-complementary
#CB7AF9 #E7F97A #7AF98C
monochromatic
#9C0BEE #B43FF6 #CB7AF9 #E2B5FC #F4E2FE
Accessibility & contrast
On white
2.73
#CB7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CB7AF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7AF9
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7AF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7AF9 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#C68FAE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb7af9; /* rgb */ color: rgb(203, 122, 249); /* oklch */ color: oklch(71.6% 0.192 311.9);
Tailwind
colors: {
custom: {
50: '#dda3fc',
500: '#cb7af9',
950: '#000000',
},
}SCSS
$custom: #cb7af9; $custom-light: #dda3fc; $custom-dark: #000000;
JSON
{
"hex": "#cb7af9",
"rgb": {
"r": 203,
"g": 122,
"b": 249
},
"hsl": {
"h": 278.268,
"s": 91.367,
"l": 72.745
},
"oklch": {
"l": 0.71631,
"c": 0.19245,
"h": 311.9
},
"luminance": 0.33455
}Semantic roles & 50–950 ramp
primary
#CB7AF9
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85