#D757F2#D757F2
#D757F2 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.2% C 0.241 H 320.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D757F2 |
|---|---|
| RGB | rgb(215, 87, 242) |
| HSL | hsl(290, 86%, 65%) |
| HSV | hsv(290, 64%, 95%) |
| CMYK | cmyk(11.2%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(59.60, 70.82, -55.13) |
| CIE-LCH | lch(59.60, 89.75, 322.10°) |
| OKLab | oklab(68.23% 0.185 -0.154) |
| OKLCH | oklch(68.23% 0.241 320.2) |
| XYZ | xyz(47.4576, 27.6765, 86.8295) |
| Luminance | 0.2767 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.14
Bright Lilac
#C95EFB
ΔE00 3.02
Bright Lavender
#C760FF
ΔE00 3.76
Pinkish Purple
#D648D7
ΔE00 4.77
Pink Purple
#EF1DE7
ΔE00 5.82
Magenta
#FF00FF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D757F2 #72F257
analogous
#8957F2 #D757F2 #F257C0
triadic
#D757F2 #F2D757 #57F2D7
tetradic
#D757F2 #F28957 #72F257 #57C0F2
square
#D757F2 #F28957 #72F257 #57C0F2
split-complementary
#D757F2 #C0F257 #57F289
monochromatic
#A10FC0 #C91EEE #D757F2 #E590F6 #F2C9FB
Accessibility & contrast
On white
3.21
#D757F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#D757F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D757F2
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D757F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D757F2 | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#6594EE
Tritanopia (blue-blind)
#D8719D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #d757f2; /* rgb */ color: rgb(215, 87, 242); /* oklch */ color: oklch(68.2% 0.241 320.2);
Tailwind
colors: {
custom: {
50: '#e78ff7',
500: '#d757f2',
950: '#000000',
},
}SCSS
$custom: #d757f2; $custom-light: #e78ff7; $custom-dark: #000000;
JSON
{
"hex": "#d757f2",
"rgb": {
"r": 215,
"g": 87,
"b": 242
},
"hsl": {
"h": 289.548,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.68226,
"c": 0.24068,
"h": 320.2
},
"luminance": 0.27674
}Semantic roles & 50–950 ramp
primary
#D757F2
secondary
#C1EDB8
accent
#E2032A
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85