#D54FE3#D54FE3
#D54FE3 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.237 H 323.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D54FE3 |
|---|---|
| RGB | rgb(213, 79, 227) |
| HSL | hsl(294, 73%, 60%) |
| HSV | hsv(294, 65%, 89%) |
| CMYK | cmyk(6.2%, 65.2%, 0%, 11%) |
| CIE-LAB | lab(57.35, 70.90, -50.33) |
| CIE-LCH | lch(57.35, 86.95, 324.63°) |
| OKLab | oklab(66.29% 0.1914 -0.14) |
| OKLCH | oklch(66.29% 0.237 323.8) |
| XYZ | xyz(44.1004, 25.2867, 75.2161) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.17
Heliotrope
#D94FF5
ΔE00 2.56
Pink Purple
#EF1DE7
ΔE00 4.42
Mediumorchid
#BA55D3
ΔE00 4.68
Purple Pink
#D725DE
ΔE00 4.91
Bright Lilac
#C95EFB
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D54FE3 #5DE34F
analogous
#8B4FE3 #D54FE3 #E34FA7
triadic
#D54FE3 #E3D54F #4FE3D5
tetradic
#D54FE3 #E38B4F #5DE34F #4FA7E3
square
#D54FE3 #E38B4F #5DE34F #4FA7E3
split-complementary
#D54FE3 #A7E34F #4FE38B
monochromatic
#92199E #C222D3 #D54FE3 #E284EB #EEB9F4
Accessibility & contrast
On white
3.47
#D54FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#D54FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D54FE3
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D54FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D54FE3 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D7FE7
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#D96693
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #d54fe3; /* rgb */ color: rgb(213, 79, 227); /* oklch */ color: oklch(66.3% 0.237 323.8);
Tailwind
colors: {
custom: {
50: '#e58aec',
500: '#d54fe3',
950: '#000000',
},
}SCSS
$custom: #d54fe3; $custom-light: #e58aec; $custom-dark: #000000;
JSON
{
"hex": "#d54fe3",
"rgb": {
"r": 213,
"g": 79,
"b": 227
},
"hsl": {
"h": 294.324,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.66291,
"c": 0.23711,
"h": 323.8
},
"luminance": 0.25284
}Semantic roles & 50–950 ramp
primary
#D54FE3
secondary
#B0E3AA
accent
#EF394A
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84