#D45FE5#D45FE5
#D45FE5 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.0% C 0.217 H 322.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D45FE5 |
|---|---|
| RGB | rgb(212, 95, 229) |
| HSL | hsl(292, 72%, 64%) |
| HSV | hsv(292, 59%, 90%) |
| CMYK | cmyk(7.4%, 58.5%, 0%, 10.2%) |
| CIE-LAB | lab(59.74, 64.32, -47.67) |
| CIE-LCH | lch(59.74, 80.06, 323.46°) |
| OKLab | oklab(68.03% 0.172 -0.1324) |
| OKLCH | oklch(68.03% 0.217 322.4) |
| XYZ | xyz(45.3850, 27.8409, 77.0968) |
| Luminance | 0.2784 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.15
Pinkish Purple
#D648D7
ΔE00 4.32
Bright Lilac
#C95EFB
ΔE00 4.38
Bright Lavender
#C760FF
ΔE00 5.08
Orchid
#DA70D6
ΔE00 5.12
Mediumorchid
#BA55D3
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D45FE5 #70E55F
analogous
#915FE5 #D45FE5 #E55FB3
triadic
#D45FE5 #E5D45F #5FE5D4
tetradic
#D45FE5 #E5915F #70E55F #5FB3E5
square
#D45FE5 #E5915F #70E55F #5FB3E5
split-complementary
#D45FE5 #B3E55F #5FE591
monochromatic
#9B1CAD #C62ADC #D45FE5 #E294EE #F0C8F6
Accessibility & contrast
On white
3.20
#D45FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#D45FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D45FE5
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D45FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D45FE5 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#7095E1
Tritanopia (blue-blind)
#D77399
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d45fe5; /* rgb */ color: rgb(212, 95, 229); /* oklch */ color: oklch(68.0% 0.217 322.4);
Tailwind
colors: {
custom: {
50: '#e493ee',
500: '#d45fe5',
950: '#000000',
},
}SCSS
$custom: #d45fe5; $custom-light: #e493ee; $custom-dark: #000000;
JSON
{
"hex": "#d45fe5",
"rgb": {
"r": 212,
"g": 95,
"b": 229
},
"hsl": {
"h": 292.388,
"s": 72.043,
"l": 63.529
},
"oklch": {
"l": 0.68029,
"c": 0.21703,
"h": 322.4
},
"luminance": 0.27839
}Semantic roles & 50–950 ramp
primary
#D45FE5
secondary
#BEE8B8
accent
#D4112A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D16
muted
#847E84