#D151C6#D151C6
#D151C6 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.4% C 0.209 H 331.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D151C6 |
|---|---|
| RGB | rgb(209, 81, 198) |
| HSL | hsl(305, 58%, 57%) |
| HSV | hsv(305, 61%, 82%) |
| CMYK | cmyk(0%, 61.2%, 5.3%, 18%) |
| CIE-LAB | lab(55.60, 64.27, -36.67) |
| CIE-LCH | lch(55.60, 73.99, 330.29°) |
| OKLab | oklab(64.44% 0.1831 -0.1006) |
| OKLCH | oklch(64.44% 0.209 331.2) |
| XYZ | xyz(39.4298, 23.5202, 55.8782) |
| Luminance | 0.2352 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.25
Purpleish Pink
#DF4EC8
ΔE00 2.42
Pinkish Purple
#D648D7
ΔE00 2.93
Purpley Pink
#C83CB9
ΔE00 4.88
Purplish Pink
#CE5DAE
ΔE00 5.38
Mediumorchid
#BA55D3
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D151C6 #51D15C
analogous
#9C51D1 #D151C6 #D15186
triadic
#D151C6 #C6D151 #51C6D1
tetradic
#D151C6 #D19C51 #51D15C #5186D1
square
#D151C6 #D19C51 #51D15C #5186D1
split-complementary
#D151C6 #86D151 #51D19C
monochromatic
#85237C #B530AA #D151C6 #DE81D6 #EBB2E6
Accessibility & contrast
On white
3.68
#D151C6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#D151C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D151C6
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D151C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D151C6 | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#758CC3
Tritanopia (blue-blind)
#D95D84
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #d151c6; /* rgb */ color: rgb(209, 81, 198); /* oklch */ color: oklch(64.4% 0.209 331.2);
Tailwind
colors: {
custom: {
50: '#e28ad7',
500: '#d151c6',
950: '#000000',
},
}SCSS
$custom: #d151c6; $custom-light: #e28ad7; $custom-dark: #000000;
JSON
{
"hex": "#d151c6",
"rgb": {
"r": 209,
"g": 81,
"b": 198
},
"hsl": {
"h": 305.156,
"s": 58.182,
"l": 56.863
},
"oklch": {
"l": 0.64435,
"c": 0.2089,
"h": 331.2
},
"luminance": 0.23517
}Semantic roles & 50–950 ramp
primary
#D151C6
secondary
#A5D9A9
accent
#E15446
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83