#D452FD#D452FD
#D452FD is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 68.0% C 0.255 H 316.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D452FD |
|---|---|
| RGB | rgb(212, 82, 253) |
| HSL | hsl(286, 98%, 66%) |
| HSV | hsv(286, 68%, 99%) |
| CMYK | cmyk(16.2%, 67.6%, 0%, 0.8%) |
| CIE-LAB | lab(59.09, 74.22, -62.06) |
| CIE-LCH | lch(59.09, 96.75, 320.10°) |
| OKLab | oklab(67.98% 0.1865 -0.1743) |
| OKLCH | oklch(67.98% 0.255 316.9) |
| XYZ | xyz(47.8957, 27.1254, 95.6223) |
| Luminance | 0.2712 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.57
Bright Lilac
#C95EFB
ΔE00 2.13
Bright Lavender
#C760FF
ΔE00 2.71
Easter Purple
#C071FE
ΔE00 5.82
Pinkish Purple
#D648D7
ΔE00 5.95
Magenta
#FF00FF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D452FD #7BFD52
analogous
#7E52FD #D452FD #FD52D0
triadic
#D452FD #FDD452 #52FDD4
tetradic
#D452FD #FD7E52 #7BFD52 #52D0FD
square
#D452FD #FD7E52 #7BFD52 #52D0FD
split-complementary
#D452FD #D0FD52 #52FD7E
monochromatic
#A002D2 #C515FC #D452FD #E38EFE #F2CBFE
Accessibility & contrast
On white
3.27
#D452FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#D452FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D452FD
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D452FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D452FD | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#D273A2
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #d452fd; /* rgb */ color: rgb(212, 82, 253); /* oklch */ color: oklch(68.0% 0.255 316.9);
Tailwind
colors: {
custom: {
50: '#e58cff',
500: '#d452fd',
950: '#000000',
},
}SCSS
$custom: #d452fd; $custom-light: #e58cff; $custom-dark: #000000;
JSON
{
"hex": "#d452fd",
"rgb": {
"r": 212,
"g": 82,
"b": 253
},
"hsl": {
"h": 285.614,
"s": 97.714,
"l": 65.686
},
"oklch": {
"l": 0.67979,
"c": 0.25523,
"h": 316.9
},
"luminance": 0.27123
}Semantic roles & 50–950 ramp
primary
#D452FD
secondary
#C7F2B9
accent
#E60037
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86