#CB76FE#CB76FE
#CB76FE is a light, highly saturated violet. Relative luminance 0.328; OKLCH L 71.3% C 0.204 H 311.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CB76FE |
|---|---|
| RGB | rgb(203, 118, 254) |
| HSL | hsl(278, 99%, 73%) |
| HSV | hsv(278, 54%, 100%) |
| CMYK | cmyk(20.1%, 53.5%, 0%, 0.4%) |
| CIE-LAB | lab(64.01, 56.04, -54.83) |
| CIE-LCH | lch(64.01, 78.40, 315.63°) |
| OKLab | oklab(71.33% 0.1341 -0.1536) |
| OKLCH | oklch(71.33% 0.204 311.1) |
| XYZ | xyz(48.9932, 32.8101, 97.4988) |
| Luminance | 0.3281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.09
Easter Purple
#C071FE
ΔE00 2.37
Bright Lavender
#C760FF
ΔE00 4.56
Light Urple
#B36FF6
ΔE00 4.60
Bright Lilac
#C95EFB
ΔE00 4.83
Liliac
#C48EFD
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB76FE #A9FE76
analogous
#8776FE #CB76FE #FE76ED
triadic
#CB76FE #FECB76 #76FECB
tetradic
#CB76FE #FE8776 #A9FE76 #76EDFE
square
#CB76FE #FE8776 #A9FE76 #76EDFE
split-complementary
#CB76FE #EDFE76 #76FE87
monochromatic
#9C02F8 #B439FE #CB76FE #E2B3FE #F3E1FF
Accessibility & contrast
On white
2.78
#CB76FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#CB76FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB76FE
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB76FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB76FE | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C58DAF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cb76fe; /* rgb */ color: rgb(203, 118, 254); /* oklch */ color: oklch(71.3% 0.204 311.1);
Tailwind
colors: {
custom: {
50: '#dea0ff',
500: '#cb76fe',
950: '#000000',
},
}SCSS
$custom: #cb76fe; $custom-light: #dea0ff; $custom-dark: #000000;
JSON
{
"hex": "#cb76fe",
"rgb": {
"r": 203,
"g": 118,
"b": 254
},
"hsl": {
"h": 277.5,
"s": 98.551,
"l": 72.941
},
"oklch": {
"l": 0.71329,
"c": 0.20392,
"h": 311.1
},
"luminance": 0.32809
}Semantic roles & 50–950 ramp
primary
#CB76FE
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86