#D57EF2#D57EF2
#D57EF2 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.183 H 317.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D57EF2 |
|---|---|
| RGB | rgb(213, 126, 242) |
| HSL | hsl(285, 82%, 72%) |
| HSV | hsv(285, 48%, 95%) |
| CMYK | cmyk(12%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(66.12, 52.13, -44.82) |
| CIE-LCH | lch(66.12, 68.75, 319.32°) |
| OKLab | oklab(72.95% 0.1342 -0.1243) |
| OKLCH | oklch(72.95% 0.183 317.2) |
| XYZ | xyz(50.9261, 35.4803, 88.1529) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.85
Violet (CSS)
#EE82EE
ΔE00 5.11
Liliac
#C48EFD
ΔE00 5.59
Orchid
#DA70D6
ΔE00 5.67
Purply Pink
#F075E6
ΔE00 5.86
Easter Purple
#C071FE
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D57EF2 #9BF27E
analogous
#9B7EF2 #D57EF2 #F27ED5
triadic
#D57EF2 #F2D57E #7EF2D5
tetradic
#D57EF2 #F29B7E #9BF27E #7ED5F2
square
#D57EF2 #F29B7E #9BF27E #7ED5F2
split-complementary
#D57EF2 #D5F27E #7EF29B
monochromatic
#AD16DF #C346EC #D57EF2 #E7B6F8 #F6E3FC
Accessibility & contrast
On white
2.59
#D57EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#D57EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D57EF2
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D57EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D57EF2 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#D48FAD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d57ef2; /* rgb */ color: rgb(213, 126, 242); /* oklch */ color: oklch(73.0% 0.183 317.2);
Tailwind
colors: {
custom: {
50: '#e4a6f7',
500: '#d57ef2',
950: '#000000',
},
}SCSS
$custom: #d57ef2; $custom-light: #e4a6f7; $custom-dark: #000000;
JSON
{
"hex": "#d57ef2",
"rgb": {
"r": 213,
"g": 126,
"b": 242
},
"hsl": {
"h": 285,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.72951,
"c": 0.18291,
"h": 317.2
},
"luminance": 0.35479
}Semantic roles & 50–950 ramp
primary
#D57EF2
secondary
#DEF4D7
accent
#DE073D
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85