#D180EA#D180EA

#D180EA is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.4% C 0.169 H 317.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D180EA
RGBrgb(209, 128, 234)
HSLhsl(286, 72%, 71%)
HSVhsv(286, 45%, 92%)
CMYKcmyk(10.7%, 45.3%, 0%, 8.2%)
CIE-LABlab(65.70, 48.40, -41.10)
CIE-LCHlch(65.70, 63.49, 319.66°)
OKLaboklab(72.42% 0.1256 -0.1137)
OKLCHoklch(72.42% 0.169 317.9)
XYZxyz(48.8629, 34.9357, 81.9953)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D180EA #99EA80
analogous
#9C80EA #D180EA #EA80CE
triadic
#D180EA #EAD180 #80EAD1
tetradic
#D180EA #EA9C80 #99EA80 #80CEEA
square
#D180EA #EA9C80 #99EA80 #80CEEA
split-complementary
#D180EA #CEEA80 #80EA9C
monochromatic
#A522CE #BE4BE1 #D180EA #E4B5F3 #F5E5FB

Accessibility & contrast

On white

2.63
#D180EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D180EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D180EA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D180EA#FFFFFF#000000##000000
##D180EA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#84A2E7
Tritanopia (blue-blind)
#D18EAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d180ea;
/* rgb */ color: rgb(209, 128, 234);
/* oklch */ color: oklch(72.4% 0.169 317.9);
Tailwind
colors: {
  custom: {
    50: '#e1a7f1',
    500: '#d180ea',
    950: '#000000',
  },
}
SCSS
$custom: #d180ea;
$custom-light: #e1a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d180ea",
  "rgb": {
    "r": 209,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 285.849,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72418,
    "c": 0.16942,
    "h": 317.9
  },
  "luminance": 0.34934
}

Semantic roles & 50–950 ramp

primary
#D180EA
secondary
#DBF1D5
accent
#D41240
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D180EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D180EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva