#D181EA#D181EA

#D181EA is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.168 H 317.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D181EA
RGBrgb(209, 129, 234)
HSLhsl(286, 71%, 71%)
HSVhsv(286, 45%, 92%)
CMYKcmyk(10.7%, 44.9%, 0%, 8.2%)
CIE-LABlab(65.90, 47.87, -40.78)
CIE-LCHlch(65.90, 62.89, 319.58°)
OKLaboklab(72.57% 0.1243 -0.1127)
OKLCHoklch(72.57% 0.168 317.8)
XYZxyz(48.9940, 35.1979, 82.0390)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181EA #9AEA81
analogous
#9C81EA #D181EA #EA81CE
triadic
#D181EA #EAD181 #81EAD1
tetradic
#D181EA #EA9C81 #9AEA81 #81CEEA
square
#D181EA #EA9C81 #9AEA81 #81CEEA
split-complementary
#D181EA #CEEA81 #81EA9C
monochromatic
#A522CE #BE4DE1 #D181EA #E4B5F3 #F5E5FB

Accessibility & contrast

On white

2.61
#D181EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D181EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181EA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181EA#FFFFFF#000000##000000
##D181EA1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#85A3E7
Tritanopia (blue-blind)
#D18FAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d181ea;
/* rgb */ color: rgb(209, 129, 234);
/* oklch */ color: oklch(72.6% 0.168 317.8);
Tailwind
colors: {
  custom: {
    50: '#e1a7f1',
    500: '#d181ea',
    950: '#000000',
  },
}
SCSS
$custom: #d181ea;
$custom-light: #e1a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d181ea",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 285.714,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7257,
    "c": 0.16778,
    "h": 317.8
  },
  "luminance": 0.35196
}

Semantic roles & 50–950 ramp

primary
#D181EA
secondary
#DCF1D6
accent
#D31240
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D181EA

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

Preview Lab → · Contrast checker → · Palette generator →

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