#D752F2#D752F2
#D752F2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.7% C 0.247 H 320.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #D752F2 |
|---|---|
| RGB | rgb(215, 82, 242) |
| HSL | hsl(290, 86%, 64%) |
| HSV | hsv(290, 66%, 95%) |
| CMYK | cmyk(11.2%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(58.88, 72.83, -56.28) |
| CIE-LCH | lch(58.88, 92.04, 322.31°) |
| OKLab | oklab(67.71% 0.1904 -0.1573) |
| OKLCH | oklch(67.71% 0.247 320.4) |
| XYZ | xyz(47.0667, 26.8948, 86.6992) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 0.51
Bright Lilac
#C95EFB
ΔE00 3.20
Bright Lavender
#C760FF
ΔE00 3.95
Pinkish Purple
#D648D7
ΔE00 4.39
Pink Purple
#EF1DE7
ΔE00 5.31
Magenta
#FF00FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D752F2 #6DF252
analogous
#8752F2 #D752F2 #F252BD
triadic
#D752F2 #F2D752 #52F2D7
tetradic
#D752F2 #F28752 #6DF252 #52BDF2
square
#D752F2 #F28752 #6DF252 #52BDF2
split-complementary
#D752F2 #BDF252 #52F287
monochromatic
#9E0EBC #CA19EE #D752F2 #E48BF6 #F1C4FB
Accessibility & contrast
On white
3.29
#D752F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#D752F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D752F2
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D752F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D752F2 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A84F7
Deuteranopia (green-blind)
#6192EE
Tritanopia (blue-blind)
#D86E9C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #d752f2; /* rgb */ color: rgb(215, 82, 242); /* oklch */ color: oklch(67.7% 0.247 320.4);
Tailwind
colors: {
custom: {
50: '#e78cf7',
500: '#d752f2',
950: '#000000',
},
}SCSS
$custom: #d752f2; $custom-light: #e78cf7; $custom-dark: #000000;
JSON
{
"hex": "#d752f2",
"rgb": {
"r": 215,
"g": 82,
"b": 242
},
"hsl": {
"h": 289.875,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.67709,
"c": 0.24692,
"h": 320.4
},
"luminance": 0.26892
}Semantic roles & 50–950 ramp
primary
#D752F2
secondary
#BDECB4
accent
#E30329
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85