#D452F5#D452F5
#D452F5 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.5% C 0.248 H 318.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D452F5 |
|---|---|
| RGB | rgb(212, 82, 245) |
| HSL | hsl(288, 89%, 64%) |
| HSV | hsv(288, 67%, 96%) |
| CMYK | cmyk(13.5%, 66.5%, 0%, 3.9%) |
| CIE-LAB | lab(58.63, 72.73, -58.37) |
| CIE-LCH | lch(58.63, 93.26, 321.25°) |
| OKLab | oklab(67.5% 0.1868 -0.1635) |
| OKLCH | oklch(67.5% 0.248 318.8) |
| XYZ | xyz(46.6479, 26.6263, 89.0507) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 0.80
Bright Lilac
#C95EFB
ΔE00 2.61
Bright Lavender
#C760FF
ΔE00 3.36
Pinkish Purple
#D648D7
ΔE00 4.87
Pink Purple
#EF1DE7
ΔE00 5.79
Mediumorchid
#BA55D3
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D452F5 #73F552
analogous
#8352F5 #D452F5 #F552C4
triadic
#D452F5 #F5D452 #52F5D4
tetradic
#D452F5 #F58352 #73F552 #52C4F5
square
#D452F5 #F58352 #73F552 #52C4F5
split-complementary
#D452F5 #C4F552 #52F583
monochromatic
#9D0BC1 #C618F2 #D452F5 #E28CF8 #F1C6FC
Accessibility & contrast
On white
3.32
#D452F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#D452F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D452F5
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D452F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D452F5 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0784FA
Deuteranopia (green-blind)
#5C91F1
Tritanopia (blue-blind)
#D4709D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d452f5; /* rgb */ color: rgb(212, 82, 245); /* oklch */ color: oklch(67.5% 0.248 318.8);
Tailwind
colors: {
custom: {
50: '#e58cf9',
500: '#d452f5',
950: '#000000',
},
}SCSS
$custom: #d452f5; $custom-light: #e58cf9; $custom-dark: #000000;
JSON
{
"hex": "#d452f5",
"rgb": {
"r": 212,
"g": 82,
"b": 245
},
"hsl": {
"h": 287.853,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.67499,
"c": 0.24826,
"h": 318.8
},
"luminance": 0.26624
}Semantic roles & 50–950 ramp
primary
#D452F5
secondary
#C0EEB5
accent
#E6002E
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85