#D45FC2#D45FC2
#D45FC2 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.3% C 0.187 H 333.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D45FC2 |
|---|---|
| RGB | rgb(212, 95, 194) |
| HSL | hsl(309, 58%, 60%) |
| HSV | hsv(309, 55%, 83%) |
| CMYK | cmyk(0%, 55.2%, 8.5%, 16.9%) |
| CIE-LAB | lab(58.11, 58.28, -30.44) |
| CIE-LCH | lch(58.11, 65.75, 332.43°) |
| OKLab | oklab(66.3% 0.168 -0.0828) |
| OKLCH | oklch(66.3% 0.187 333.8) |
| XYZ | xyz(40.9813, 26.0794, 53.9038) |
| Luminance | 0.2608 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 2.91
Purplish Pink
#CE5DAE
ΔE00 3.69
Orchid
#DA70D6
ΔE00 4.65
Orchid (survey)
#C875C4
ΔE00 4.88
Pinky Purple
#C94CBE
ΔE00 4.92
Pale Magenta
#D767AD
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D45FC2 #5FD471
analogous
#AC5FD4 #D45FC2 #D45F87
triadic
#D45FC2 #C2D45F #5FC2D4
tetradic
#D45FC2 #D4AC5F #5FD471 #5F87D4
square
#D45FC2 #D4AC5F #5FD471 #5F87D4
split-complementary
#D45FC2 #87D45F #5FD4AC
monochromatic
#912781 #C234AC #D45FC2 #E18FD4 #EEBFE7
Accessibility & contrast
On white
3.38
#D45FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#D45FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D45FC2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D45FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D45FC2 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#8092BF
Tritanopia (blue-blind)
#DD6788
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d45fc2; /* rgb */ color: rgb(212, 95, 194); /* oklch */ color: oklch(66.3% 0.187 333.8);
Tailwind
colors: {
custom: {
50: '#e492d4',
500: '#d45fc2',
950: '#000000',
},
}SCSS
$custom: #d45fc2; $custom-light: #e492d4; $custom-dark: #000000;
JSON
{
"hex": "#d45fc2",
"rgb": {
"r": 212,
"g": 95,
"b": 194
},
"hsl": {
"h": 309.231,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.66301,
"c": 0.18729,
"h": 333.8
},
"luminance": 0.26077
}Semantic roles & 50–950 ramp
primary
#D45FC2
secondary
#B1DEB8
accent
#C53A20
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83