#CD74FC#CD74FC
#CD74FC is a light, highly saturated violet. Relative luminance 0.325; OKLCH L 71.2% C 0.206 H 312.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CD74FC |
|---|---|
| RGB | rgb(205, 116, 252) |
| HSL | hsl(279, 96%, 72%) |
| HSV | hsv(279, 54%, 99%) |
| CMYK | cmyk(18.7%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(63.75, 57.13, -54.12) |
| CIE-LCH | lch(63.75, 78.69, 316.55°) |
| OKLab | oklab(71.16% 0.1389 -0.1515) |
| OKLCH | oklch(71.16% 0.206 312.5) |
| XYZ | xyz(48.9899, 32.4994, 95.7689) |
| Luminance | 0.3250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.41
Easter Purple
#C071FE
ΔE00 2.63
Bright Lavender
#C760FF
ΔE00 4.33
Bright Lilac
#C95EFB
ΔE00 4.51
Light Urple
#B36FF6
ΔE00 4.81
Liliac
#C48EFD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD74FC #A3FC74
analogous
#8974FC #CD74FC #FC74E7
triadic
#CD74FC #FCCD74 #74FCCD
tetradic
#CD74FC #FC8974 #A3FC74 #74E7FC
square
#CD74FC #FC8974 #A3FC74 #74E7FC
split-complementary
#CD74FC #E7FC74 #74FC89
monochromatic
#9F05F0 #B738FB #CD74FC #E3B0FD #F4E1FE
Accessibility & contrast
On white
2.80
#CD74FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#CD74FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD74FC
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD74FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD74FC | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6D9CF9
Tritanopia (blue-blind)
#C88BAD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cd74fc; /* rgb */ color: rgb(205, 116, 252); /* oklch */ color: oklch(71.2% 0.206 312.5);
Tailwind
colors: {
custom: {
50: '#df9ffe',
500: '#cd74fc',
950: '#000000',
},
}SCSS
$custom: #cd74fc; $custom-light: #df9ffe; $custom-dark: #000000;
JSON
{
"hex": "#cd74fc",
"rgb": {
"r": 205,
"g": 116,
"b": 252
},
"hsl": {
"h": 279.265,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.7116,
"c": 0.20553,
"h": 312.5
},
"luminance": 0.32498
}Semantic roles & 50–950 ramp
primary
#CD74FC
secondary
#E0F7D4
accent
#E6004F
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F18
muted
#847F86