#CD76FE#CD76FE
#CD76FE is a light, highly saturated violet. Relative luminance 0.331; OKLCH L 71.5% C 0.205 H 311.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CD76FE |
|---|---|
| RGB | rgb(205, 118, 254) |
| HSL | hsl(278, 99%, 73%) |
| HSV | hsv(278, 54%, 100%) |
| CMYK | cmyk(19.3%, 53.5%, 0%, 0.4%) |
| CIE-LAB | lab(64.24, 56.54, -54.45) |
| CIE-LCH | lch(64.24, 78.50, 316.08°) |
| OKLab | oklab(71.55% 0.1365 -0.1524) |
| OKLCH | oklch(71.55% 0.205 311.8) |
| XYZ | xyz(49.5415, 33.0929, 97.5245) |
| Luminance | 0.3309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.40
Easter Purple
#C071FE
ΔE00 2.70
Bright Lavender
#C760FF
ΔE00 4.68
Bright Lilac
#C95EFB
ΔE00 4.92
Light Urple
#B36FF6
ΔE00 4.93
Liliac
#C48EFD
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD76FE #A7FE76
analogous
#8976FE #CD76FE #FE76EB
triadic
#CD76FE #FECD76 #76FECD
tetradic
#CD76FE #FE8976 #A7FE76 #76EBFE
square
#CD76FE #FE8976 #A7FE76 #76EBFE
split-complementary
#CD76FE #EBFE76 #76FE89
monochromatic
#9F02F8 #B739FE #CD76FE #E3B3FE #F4E1FF
Accessibility & contrast
On white
2.76
#CD76FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#CD76FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD76FE
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD76FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD76FE | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#C88DAF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd76fe; /* rgb */ color: rgb(205, 118, 254); /* oklch */ color: oklch(71.5% 0.205 311.8);
Tailwind
colors: {
custom: {
50: '#dfa0ff',
500: '#cd76fe',
950: '#000000',
},
}SCSS
$custom: #cd76fe; $custom-light: #dfa0ff; $custom-dark: #000000;
JSON
{
"hex": "#cd76fe",
"rgb": {
"r": 205,
"g": 118,
"b": 254
},
"hsl": {
"h": 278.382,
"s": 98.551,
"l": 72.941
},
"oklch": {
"l": 0.71548,
"c": 0.20463,
"h": 311.8
},
"luminance": 0.33092
}Semantic roles & 50–950 ramp
primary
#CD76FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86