#D57FEF#D57FEF
#D57FEF is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.178 H 318.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #D57FEF |
|---|---|
| RGB | rgb(213, 127, 239) |
| HSL | hsl(286, 78%, 72%) |
| HSV | hsv(286, 47%, 94%) |
| CMYK | cmyk(10.9%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(66.18, 51.03, -43.07) |
| CIE-LCH | lch(66.18, 66.77, 319.83°) |
| OKLab | oklab(72.95% 0.1324 -0.1192) |
| OKLCH | oklch(72.95% 0.178 318) |
| XYZ | xyz(50.6078, 35.5586, 85.8423) |
| Luminance | 0.3556 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.79
Light Purple
#BF77F6
ΔE00 5.24
Orchid
#DA70D6
ΔE00 5.34
Purply Pink
#F075E6
ΔE00 5.59
Liliac
#C48EFD
ΔE00 5.75
Lavender Pink
#DD85D7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D57FEF #99EF7F
analogous
#9D7FEF #D57FEF #EF7FD1
triadic
#D57FEF #EFD57F #7FEFD5
tetradic
#D57FEF #EF9D7F #99EF7F #7FD1EF
square
#D57FEF #EF9D7F #99EF7F #7FD1EF
split-complementary
#D57FEF #D1EF7F #7FEF9D
monochromatic
#AD1BD9 #C349E8 #D57FEF #E7B5F6 #F6E4FC
Accessibility & contrast
On white
2.59
#D57FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#D57FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D57FEF
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D57FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D57FEF | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D58FAC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d57fef; /* rgb */ color: rgb(213, 127, 239); /* oklch */ color: oklch(73.0% 0.178 318.0);
Tailwind
colors: {
custom: {
50: '#e4a6f4',
500: '#d57fef',
950: '#000000',
},
}SCSS
$custom: #d57fef; $custom-light: #e4a6f4; $custom-dark: #000000;
JSON
{
"hex": "#d57fef",
"rgb": {
"r": 213,
"g": 127,
"b": 239
},
"hsl": {
"h": 286.071,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.72951,
"c": 0.17819,
"h": 318
},
"luminance": 0.35557
}Semantic roles & 50–950 ramp
primary
#D57FEF
secondary
#DDF3D7
accent
#DA0B3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85