#D45CF2#D45CF2
#D45CF2 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.4% C 0.233 H 319.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D45CF2 |
|---|---|
| RGB | rgb(212, 92, 242) |
| HSL | hsl(288, 85%, 65%) |
| HSV | hsv(288, 62%, 95%) |
| CMYK | cmyk(12.4%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(59.95, 68.04, -54.59) |
| CIE-LCH | lch(59.95, 87.24, 321.26°) |
| OKLab | oklab(68.4% 0.176 -0.1525) |
| OKLCH | oklch(68.4% 0.233 319.1) |
| XYZ | xyz(47.0034, 28.0642, 86.9282) |
| Luminance | 0.2806 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.84
Bright Lilac
#C95EFB
ΔE00 2.59
Bright Lavender
#C760FF
ΔE00 3.29
Pinkish Purple
#D648D7
ΔE00 5.28
Easter Purple
#C071FE
ΔE00 5.44
Light Purple
#BF77F6
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D45CF2 #7AF25C
analogous
#895CF2 #D45CF2 #F25CC5
triadic
#D45CF2 #F2D45C #5CF2D4
tetradic
#D45CF2 #F2895C #7AF25C #5CC5F2
square
#D45CF2 #F2895C #7AF25C #5CC5F2
split-complementary
#D45CF2 #C5F25C #5CF289
monochromatic
#A010C4 #C523ED #D45CF2 #E395F7 #F2CDFB
Accessibility & contrast
On white
3.18
#D45CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#D45CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D45CF2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D45CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D45CF2 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3188F7
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#D4759F
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d45cf2; /* rgb */ color: rgb(212, 92, 242); /* oklch */ color: oklch(68.4% 0.233 319.1);
Tailwind
colors: {
custom: {
50: '#e591f7',
500: '#d45cf2',
950: '#000000',
},
}SCSS
$custom: #d45cf2; $custom-light: #e591f7; $custom-dark: #000000;
JSON
{
"hex": "#d45cf2",
"rgb": {
"r": 212,
"g": 92,
"b": 242
},
"hsl": {
"h": 288,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.68396,
"c": 0.23286,
"h": 319.1
},
"luminance": 0.28062
}Semantic roles & 50–950 ramp
primary
#D45CF2
secondary
#C6EEBC
accent
#E20430
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85