#CD74FE#CD74FE
#CD74FE is a light, highly saturated violet. Relative luminance 0.326; OKLCH L 71.3% C 0.208 H 312.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CD74FE |
|---|---|
| RGB | rgb(205, 116, 254) |
| HSL | hsl(279, 99%, 73%) |
| HSV | hsv(279, 54%, 100%) |
| CMYK | cmyk(19.3%, 54.3%, 0%, 0.4%) |
| CIE-LAB | lab(63.86, 57.54, -55.05) |
| CIE-LCH | lch(63.86, 79.64, 316.27°) |
| OKLab | oklab(71.27% 0.1391 -0.1542) |
| OKLCH | oklch(71.27% 0.208 312) |
| XYZ | xyz(49.3085, 32.6268, 97.4468) |
| Luminance | 0.3263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.43
Easter Purple
#C071FE
ΔE00 2.51
Bright Lavender
#C760FF
ΔE00 4.28
Bright Lilac
#C95EFB
ΔE00 4.51
Light Urple
#B36FF6
ΔE00 4.77
Liliac
#C48EFD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD74FE #A5FE74
analogous
#8874FE #CD74FE #FE74EA
triadic
#CD74FE #FECD74 #74FECD
tetradic
#CD74FE #FE8874 #A5FE74 #74EAFE
square
#CD74FE #FE8874 #A5FE74 #74EAFE
split-complementary
#CD74FE #EAFE74 #74FE88
monochromatic
#9F02F6 #B737FE #CD74FE #E3B1FE #F4E1FF
Accessibility & contrast
On white
2.79
#CD74FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#CD74FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD74FE
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD74FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD74FE | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C88CAE
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cd74fe; /* rgb */ color: rgb(205, 116, 254); /* oklch */ color: oklch(71.3% 0.208 312.0);
Tailwind
colors: {
custom: {
50: '#df9fff',
500: '#cd74fe',
950: '#000000',
},
}SCSS
$custom: #cd74fe; $custom-light: #df9fff; $custom-dark: #000000;
JSON
{
"hex": "#cd74fe",
"rgb": {
"r": 205,
"g": 116,
"b": 254
},
"hsl": {
"h": 278.696,
"s": 98.571,
"l": 72.549
},
"oklch": {
"l": 0.7127,
"c": 0.20763,
"h": 312
},
"luminance": 0.32626
}Semantic roles & 50–950 ramp
primary
#CD74FE
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86