#D182DC#D182DC
#D182DC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.1% C 0.152 H 322.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D182DC |
|---|---|
| RGB | rgb(209, 130, 220) |
| HSL | hsl(293, 56%, 69%) |
| HSV | hsv(293, 41%, 86%) |
| CMYK | cmyk(5%, 40.9%, 0%, 13.7%) |
| CIE-LAB | lab(65.51, 44.61, -33.64) |
| CIE-LCH | lch(65.51, 55.87, 322.98°) |
| OKLab | oklab(72.08% 0.1203 -0.0923) |
| OKLCH | oklch(72.08% 0.152 322.5) |
| XYZ | xyz(47.1940, 34.6897, 71.9061) |
| Luminance | 0.3469 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.18
Orchid
#DA70D6
ΔE00 4.23
Orchid (survey)
#C875C4
ΔE00 4.82
Violet (CSS)
#EE82EE
ΔE00 4.91
Purply Pink
#F075E6
ΔE00 5.48
Pale Purple
#B790D4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D182DC #8DDC82
analogous
#A482DC #D182DC #DC82BA
triadic
#D182DC #DCD182 #82DCD1
tetradic
#D182DC #DCA482 #8DDC82 #82BADC
square
#D182DC #DCA482 #8DDC82 #82BADC
split-complementary
#D182DC #BADC82 #82DCA4
monochromatic
#A232B2 #BF52CF #D182DC #E3B2E9 #F4E2F7
Accessibility & contrast
On white
2.65
#D182DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#D182DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D182DC
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D182DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D182DC | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#D48CA5
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d182dc; /* rgb */ color: rgb(209, 130, 220); /* oklch */ color: oklch(72.1% 0.152 322.5);
Tailwind
colors: {
custom: {
50: '#e0a8e7',
500: '#d182dc',
950: '#000000',
},
}SCSS
$custom: #d182dc; $custom-light: #e0a8e7; $custom-dark: #000000;
JSON
{
"hex": "#d182dc",
"rgb": {
"r": 209,
"g": 130,
"b": 220
},
"hsl": {
"h": 292.667,
"s": 56.25,
"l": 68.627
},
"oklch": {
"l": 0.72076,
"c": 0.15159,
"h": 322.5
},
"luminance": 0.34688
}Semantic roles & 50–950 ramp
primary
#D182DC
secondary
#D3EACF
accent
#C42236
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84