#CB7AF8#CB7AF8
#CB7AF8 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.191 H 312.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7AF8 |
|---|---|
| RGB | rgb(203, 122, 248) |
| HSL | hsl(279, 90%, 73%) |
| HSV | hsv(279, 51%, 97%) |
| CMYK | cmyk(18.1%, 50.8%, 0%, 2.7%) |
| CIE-LAB | lab(64.48, 52.74, -50.78) |
| CIE-LCH | lch(64.48, 73.21, 316.08°) |
| OKLab | oklab(71.58% 0.1285 -0.1418) |
| OKLCH | oklch(71.58% 0.191 312.2) |
| XYZ | xyz(48.5284, 33.3940, 92.6780) |
| Luminance | 0.3339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.30
Easter Purple
#C071FE
ΔE00 3.32
Liliac
#C48EFD
ΔE00 4.98
Light Urple
#B36FF6
ΔE00 5.22
Bright Lavender
#C760FF
ΔE00 5.57
Bright Lilac
#C95EFB
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7AF8 #A7F87A
analogous
#8C7AF8 #CB7AF8 #F87AE6
triadic
#CB7AF8 #F8CB7A #7AF8CB
tetradic
#CB7AF8 #F88C7A #A7F87A #7AE6F8
square
#CB7AF8 #F88C7A #A7F87A #7AE6F8
split-complementary
#CB7AF8 #E6F87A #7AF88C
monochromatic
#9C0CEB #B440F5 #CB7AF8 #E2B4FB #F4E2FD
Accessibility & contrast
On white
2.73
#CB7AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#CB7AF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7AF8
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7AF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7AF8 | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#C68FAE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb7af8; /* rgb */ color: rgb(203, 122, 248); /* oklch */ color: oklch(71.6% 0.191 312.2);
Tailwind
colors: {
custom: {
50: '#dda3fb',
500: '#cb7af8',
950: '#000000',
},
}SCSS
$custom: #cb7af8; $custom-light: #dda3fb; $custom-dark: #000000;
JSON
{
"hex": "#cb7af8",
"rgb": {
"r": 203,
"g": 122,
"b": 248
},
"hsl": {
"h": 278.571,
"s": 90,
"l": 72.549
},
"oklch": {
"l": 0.71578,
"c": 0.19137,
"h": 312.2
},
"luminance": 0.33393
}Semantic roles & 50–950 ramp
primary
#CB7AF8
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85