#CB7AFC#CB7AFC
#CB7AFC is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.8% C 0.196 H 311.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7AFC |
|---|---|
| RGB | rgb(203, 122, 252) |
| HSL | hsl(277, 96%, 73%) |
| HSV | hsv(277, 52%, 99%) |
| CMYK | cmyk(19.4%, 51.6%, 0%, 1.2%) |
| CIE-LAB | lab(64.68, 53.59, -52.66) |
| CIE-LCH | lch(64.68, 75.13, 315.50°) |
| OKLab | oklab(71.79% 0.1289 -0.1473) |
| OKLCH | oklch(71.79% 0.196 311.2) |
| XYZ | xyz(49.1556, 33.6448, 95.9812) |
| Luminance | 0.3364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 3.04
Liliac
#C48EFD
ΔE00 4.88
Light Urple
#B36FF6
ΔE00 5.08
Bright Lavender
#C760FF
ΔE00 5.44
Bright Lilac
#C95EFB
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7AFC #ABFC7A
analogous
#8A7AFC #CB7AFC #FC7AEC
triadic
#CB7AFC #FCCB7A #7AFCCB
tetradic
#CB7AFC #FC8A7A #ABFC7A #7AECFC
square
#CB7AFC #FC8A7A #ABFC7A #7AECFC
split-complementary
#CB7AFC #ECFC7A #7AFC8A
monochromatic
#9B06F6 #B43EFB #CB7AFC #E2B6FD #F3E1FE
Accessibility & contrast
On white
2.72
#CB7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CB7AFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7AFC
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7AFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7AFC | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#719EF9
Tritanopia (blue-blind)
#C590B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7afc; /* rgb */ color: rgb(203, 122, 252); /* oklch */ color: oklch(71.8% 0.196 311.2);
Tailwind
colors: {
custom: {
50: '#dda3fe',
500: '#cb7afc',
950: '#000000',
},
}SCSS
$custom: #cb7afc; $custom-light: #dda3fe; $custom-dark: #000000;
JSON
{
"hex": "#cb7afc",
"rgb": {
"r": 203,
"g": 122,
"b": 252
},
"hsl": {
"h": 277.385,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.71792,
"c": 0.1957,
"h": 311.2
},
"luminance": 0.33644
}Semantic roles & 50–950 ramp
primary
#CB7AFC
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86