#D57FF2#D57FF2
#D57FF2 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.1% C 0.181 H 317.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D57FF2 |
|---|---|
| RGB | rgb(213, 127, 242) |
| HSL | hsl(285, 82%, 72%) |
| HSV | hsv(285, 48%, 95%) |
| CMYK | cmyk(12%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(66.32, 51.62, -44.51) |
| CIE-LCH | lch(66.32, 68.16, 319.23°) |
| OKLab | oklab(73.1% 0.1328 -0.1234) |
| OKLCH | oklch(73.1% 0.181 317.1) |
| XYZ | xyz(51.0547, 35.7373, 88.1958) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.95
Violet (CSS)
#EE82EE
ΔE00 5.05
Liliac
#C48EFD
ΔE00 5.46
Orchid
#DA70D6
ΔE00 5.75
Purply Pink
#F075E6
ΔE00 5.89
Easter Purple
#C071FE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D57FF2 #9CF27F
analogous
#9C7FF2 #D57FF2 #F27FD5
triadic
#D57FF2 #F2D57F #7FF2D5
tetradic
#D57FF2 #F29C7F #9CF27F #7FD5F2
square
#D57FF2 #F29C7F #9CF27F #7FD5F2
split-complementary
#D57FF2 #D5F27F #7FF29C
monochromatic
#AD17E0 #C347EC #D57FF2 #E7B7F8 #F6E3FC
Accessibility & contrast
On white
2.58
#D57FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#D57FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D57FF2
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D57FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D57FF2 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#D48FAD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d57ff2; /* rgb */ color: rgb(213, 127, 242); /* oklch */ color: oklch(73.1% 0.181 317.1);
Tailwind
colors: {
custom: {
50: '#e4a6f7',
500: '#d57ff2',
950: '#000000',
},
}SCSS
$custom: #d57ff2; $custom-light: #e4a6f7; $custom-dark: #000000;
JSON
{
"hex": "#d57ff2",
"rgb": {
"r": 213,
"g": 127,
"b": 242
},
"hsl": {
"h": 284.87,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.73098,
"c": 0.1813,
"h": 317.1
},
"luminance": 0.35736
}Semantic roles & 50–950 ramp
primary
#D57FF2
secondary
#DEF4D7
accent
#DE083E
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85