#CB7AFD#CB7AFD
#CB7AFD is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.8% C 0.197 H 310.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7AFD |
|---|---|
| RGB | rgb(203, 122, 253) |
| HSL | hsl(277, 97%, 74%) |
| HSV | hsv(277, 52%, 99%) |
| CMYK | cmyk(19.8%, 51.8%, 0%, 0.8%) |
| CIE-LAB | lab(64.73, 53.80, -53.13) |
| CIE-LCH | lch(64.73, 75.61, 315.36°) |
| OKLab | oklab(71.85% 0.1289 -0.1487) |
| OKLCH | oklch(71.85% 0.197 310.9) |
| XYZ | xyz(49.3145, 33.7084, 96.8180) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 2.98
Liliac
#C48EFD
ΔE00 4.87
Light Urple
#B36FF6
ΔE00 5.06
Bright Lavender
#C760FF
ΔE00 5.42
Bright Lilac
#C95EFB
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7AFD #ACFD7A
analogous
#897AFD #CB7AFD #FD7AEE
triadic
#CB7AFD #FDCB7A #7AFDCB
tetradic
#CB7AFD #FD897A #ACFD7A #7AEEFD
square
#CB7AFD #FD897A #ACFD7A #7AEEFD
split-complementary
#CB7AFD #EEFD7A #7AFD89
monochromatic
#9B04F9 #B33EFC #CB7AFD #E3B6FE #F3E1FF
Accessibility & contrast
On white
2.71
#CB7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#CB7AFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7AFD
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7AFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7AFD | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#C590B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7afd; /* rgb */ color: rgb(203, 122, 253); /* oklch */ color: oklch(71.8% 0.197 310.9);
Tailwind
colors: {
custom: {
50: '#dda3fe',
500: '#cb7afd',
950: '#000000',
},
}SCSS
$custom: #cb7afd; $custom-light: #dda3fe; $custom-dark: #000000;
JSON
{
"hex": "#cb7afd",
"rgb": {
"r": 203,
"g": 122,
"b": 253
},
"hsl": {
"h": 277.099,
"s": 97.037,
"l": 73.529
},
"oklch": {
"l": 0.71846,
"c": 0.19678,
"h": 310.9
},
"luminance": 0.33707
}Semantic roles & 50–950 ramp
primary
#CB7AFD
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86