#D45CD2#D45CD2
#D45CD2 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.205 H 328.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D45CD2 |
|---|---|
| RGB | rgb(212, 92, 210) |
| HSL | hsl(301, 58%, 60%) |
| HSV | hsv(301, 57%, 83%) |
| CMYK | cmyk(0%, 56.6%, 0.9%, 16.9%) |
| CIE-LAB | lab(58.33, 62.30, -39.20) |
| CIE-LCH | lch(58.33, 73.61, 327.82°) |
| OKLab | oklab(66.69% 0.1741 -0.1079) |
| OKLCH | oklch(66.69% 0.205 328.2) |
| XYZ | xyz(42.6108, 26.3072, 63.7937) |
| Luminance | 0.2630 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.18
Pinkish Purple
#D648D7
ΔE00 3.35
Orchid
#DA70D6
ΔE00 4.42
Pinky Purple
#C94CBE
ΔE00 4.93
Heliotrope
#D94FF5
ΔE00 5.56
Mediumorchid
#BA55D3
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D45CD2 #5CD45E
analogous
#9A5CD4 #D45CD2 #D45C96
triadic
#D45CD2 #D2D45C #5CD2D4
tetradic
#D45CD2 #D49A5C #5CD45E #5C96D4
square
#D45CD2 #D49A5C #5CD45E #5C96D4
split-complementary
#D45CD2 #96D45C #5CD49A
monochromatic
#90268E #C033BE #D45CD2 #E18CDF #EEBDED
Accessibility & contrast
On white
3.35
#D45CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#D45CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D45CD2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D45CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D45CD2 | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#7892CF
Tritanopia (blue-blind)
#DA6A8F
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d45cd2; /* rgb */ color: rgb(212, 92, 210); /* oklch */ color: oklch(66.7% 0.205 328.2);
Tailwind
colors: {
custom: {
50: '#e490e0',
500: '#d45cd2',
950: '#000000',
},
}SCSS
$custom: #d45cd2; $custom-light: #e490e0; $custom-dark: #000000;
JSON
{
"hex": "#d45cd2",
"rgb": {
"r": 212,
"g": 92,
"b": 210
},
"hsl": {
"h": 301,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.66693,
"c": 0.20483,
"h": 328.2
},
"luminance": 0.26304
}Semantic roles & 50–950 ramp
primary
#D45CD2
secondary
#AFDDAF
accent
#E14946
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83