#CB76FC#CB76FC
#CB76FC is a light, highly saturated violet. Relative luminance 0.327; OKLCH L 71.2% C 0.202 H 311.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CB76FC |
|---|---|
| RGB | rgb(203, 118, 252) |
| HSL | hsl(278, 96%, 73%) |
| HSV | hsv(278, 53%, 99%) |
| CMYK | cmyk(19.4%, 53.2%, 0%, 1.2%) |
| CIE-LAB | lab(63.90, 55.62, -53.90) |
| CIE-LCH | lch(63.90, 77.45, 315.90°) |
| OKLab | oklab(71.22% 0.134 -0.1509) |
| OKLCH | oklch(71.22% 0.202 311.6) |
| XYZ | xyz(48.6746, 32.6827, 95.8209) |
| Luminance | 0.3268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.06
Easter Purple
#C071FE
ΔE00 2.48
Bright Lavender
#C760FF
ΔE00 4.60
Light Urple
#B36FF6
ΔE00 4.64
Bright Lilac
#C95EFB
ΔE00 4.83
Liliac
#C48EFD
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB76FC #A7FC76
analogous
#8876FC #CB76FC #FC76EA
triadic
#CB76FC #FCCB76 #76FCCB
tetradic
#CB76FC #FC8876 #A7FC76 #76EAFC
square
#CB76FC #FC8876 #A7FC76 #76EAFC
split-complementary
#CB76FC #EAFC76 #76FC88
monochromatic
#9C05F2 #B43AFB #CB76FC #E2B2FD #F4E1FE
Accessibility & contrast
On white
2.79
#CB76FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#CB76FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB76FC
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB76FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB76FC | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#C68DAE
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cb76fc; /* rgb */ color: rgb(203, 118, 252); /* oklch */ color: oklch(71.2% 0.202 311.6);
Tailwind
colors: {
custom: {
50: '#dea0fe',
500: '#cb76fc',
950: '#000000',
},
}SCSS
$custom: #cb76fc; $custom-light: #dea0fe; $custom-dark: #000000;
JSON
{
"hex": "#cb76fc",
"rgb": {
"r": 203,
"g": 118,
"b": 252
},
"hsl": {
"h": 278.06,
"s": 95.714,
"l": 72.549
},
"oklch": {
"l": 0.71219,
"c": 0.20179,
"h": 311.6
},
"luminance": 0.32682
}Semantic roles & 50–950 ramp
primary
#CB76FC
secondary
#E1F7D4
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86