#D180EB#D180EB
#D180EB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.5% C 0.170 H 317.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #D180EB |
|---|---|
| RGB | rgb(209, 128, 235) |
| HSL | hsl(285, 73%, 71%) |
| HSV | hsv(285, 46%, 92%) |
| CMYK | cmyk(11.1%, 45.5%, 0%, 7.8%) |
| CIE-LAB | lab(65.74, 48.59, -41.58) |
| CIE-LCH | lch(65.74, 63.96, 319.45°) |
| OKLab | oklab(72.47% 0.1258 -0.115) |
| OKLCH | oklch(72.47% 0.17 317.6) |
| XYZ | xyz(49.0070, 34.9934, 82.7540) |
| Luminance | 0.3499 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.14
Violet (CSS)
#EE82EE
ΔE00 5.20
Orchid
#DA70D6
ΔE00 5.29
Liliac
#C48EFD
ΔE00 5.58
Lavender Pink
#DD85D7
ΔE00 5.69
Purply Pink
#F075E6
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D180EB #9AEB80
analogous
#9B80EB #D180EB #EB80CF
triadic
#D180EB #EBD180 #80EBD1
tetradic
#D180EB #EB9B80 #9AEB80 #80CFEB
square
#D180EB #EB9B80 #9AEB80 #80CFEB
split-complementary
#D180EB #CFEB80 #80EB9B
monochromatic
#A521D0 #BE4BE3 #D180EB #E4B5F3 #F5E5FB
Accessibility & contrast
On white
2.63
#D180EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#D180EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D180EB
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D180EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D180EB | 1.00 | 2.63 | 8.00 | 8.00 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#D18FAB
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d180eb; /* rgb */ color: rgb(209, 128, 235); /* oklch */ color: oklch(72.5% 0.170 317.6);
Tailwind
colors: {
custom: {
50: '#e1a7f2',
500: '#d180eb',
950: '#000000',
},
}SCSS
$custom: #d180eb; $custom-light: #e1a7f2; $custom-dark: #000000;
JSON
{
"hex": "#d180eb",
"rgb": {
"r": 209,
"g": 128,
"b": 235
},
"hsl": {
"h": 285.421,
"s": 72.789,
"l": 71.176
},
"oklch": {
"l": 0.72466,
"c": 0.17048,
"h": 317.6
},
"luminance": 0.34992
}Semantic roles & 50–950 ramp
primary
#D180EB
secondary
#DCF1D5
accent
#D51140
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85