#CD74F2#CD74F2
#CD74F2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.6% C 0.195 H 315.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CD74F2 |
|---|---|
| RGB | rgb(205, 116, 242) |
| HSL | hsl(282, 83%, 70%) |
| HSV | hsv(282, 52%, 95%) |
| CMYK | cmyk(15.3%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(63.25, 55.06, -49.41) |
| CIE-LCH | lch(63.25, 73.98, 318.09°) |
| OKLab | oklab(70.62% 0.1382 -0.1378) |
| OKLCH | oklch(70.62% 0.195 315.1) |
| XYZ | xyz(47.4467, 31.8821, 87.6417) |
| Luminance | 0.3188 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 3.61
Bright Lilac
#C95EFB
ΔE00 4.82
Bright Lavender
#C760FF
ΔE00 4.88
Light Urple
#B36FF6
ΔE00 5.33
Orchid
#DA70D6
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD74F2 #99F274
analogous
#8E74F2 #CD74F2 #F274D8
triadic
#CD74F2 #F2CD74 #74F2CD
tetradic
#CD74F2 #F28E74 #99F274 #74D8F2
square
#CD74F2 #F28E74 #99F274 #74D8F2
split-complementary
#CD74F2 #D8F274 #74F28E
monochromatic
#9E14D7 #B93CED #CD74F2 #E1ACF7 #F5E3FC
Accessibility & contrast
On white
2.85
#CD74F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#CD74F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD74F2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD74F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD74F2 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#739CEF
Tritanopia (blue-blind)
#CB88A8
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd74f2; /* rgb */ color: rgb(205, 116, 242); /* oklch */ color: oklch(70.6% 0.195 315.1);
Tailwind
colors: {
custom: {
50: '#df9ff7',
500: '#cd74f2',
950: '#000000',
},
}SCSS
$custom: #cd74f2; $custom-light: #df9ff7; $custom-dark: #000000;
JSON
{
"hex": "#cd74f2",
"rgb": {
"r": 205,
"g": 116,
"b": 242
},
"hsl": {
"h": 282.381,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.7062,
"c": 0.19512,
"h": 315.1
},
"luminance": 0.31881
}Semantic roles & 50–950 ramp
primary
#CD74F2
secondary
#DAF2CF
accent
#DF0646
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85