#CF76FE#CF76FE
#CF76FE is a light, highly saturated violet. Relative luminance 0.334; OKLCH L 71.8% C 0.205 H 312.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CF76FE |
|---|---|
| RGB | rgb(207, 118, 254) |
| HSL | hsl(279, 99%, 73%) |
| HSV | hsv(279, 54%, 100%) |
| CMYK | cmyk(18.5%, 53.5%, 0%, 0.4%) |
| CIE-LAB | lab(64.47, 57.05, -54.07) |
| CIE-LCH | lch(64.47, 78.60, 316.54°) |
| OKLab | oklab(71.77% 0.1389 -0.1513) |
| OKLCH | oklch(71.77% 0.205 312.6) |
| XYZ | xyz(50.0968, 33.3792, 97.5505) |
| Luminance | 0.3338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.72
Easter Purple
#C071FE
ΔE00 3.03
Bright Lavender
#C760FF
ΔE00 4.83
Bright Lilac
#C95EFB
ΔE00 5.03
Light Urple
#B36FF6
ΔE00 5.27
Liliac
#C48EFD
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF76FE #A5FE76
analogous
#8B76FE #CF76FE #FE76E9
triadic
#CF76FE #FECF76 #76FECF
tetradic
#CF76FE #FE8B76 #A5FE76 #76E9FE
square
#CF76FE #FE8B76 #A5FE76 #76E9FE
split-complementary
#CF76FE #E9FE76 #76FE8B
monochromatic
#A302F8 #BA39FE #CF76FE #E4B3FE #F4E1FF
Accessibility & contrast
On white
2.74
#CF76FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#CF76FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF76FE
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF76FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF76FE | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 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)
#5198FF
Deuteranopia (green-blind)
#6F9EFB
Tritanopia (blue-blind)
#CA8DAF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cf76fe; /* rgb */ color: rgb(207, 118, 254); /* oklch */ color: oklch(71.8% 0.205 312.6);
Tailwind
colors: {
custom: {
50: '#e0a1ff',
500: '#cf76fe',
950: '#000000',
},
}SCSS
$custom: #cf76fe; $custom-light: #e0a1ff; $custom-dark: #000000;
JSON
{
"hex": "#cf76fe",
"rgb": {
"r": 207,
"g": 118,
"b": 254
},
"hsl": {
"h": 279.265,
"s": 98.551,
"l": 72.941
},
"oklch": {
"l": 0.71768,
"c": 0.20536,
"h": 312.6
},
"luminance": 0.33378
}Semantic roles & 50–950 ramp
primary
#CF76FE
secondary
#E0F7D4
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86