#D181EE#D181EE

#D181EE is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.8% C 0.172 H 316.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D181EE
RGBrgb(209, 129, 238)
HSLhsl(284, 76%, 72%)
HSVhsv(284, 46%, 93%)
CMYKcmyk(12.2%, 45.8%, 0%, 6.7%)
CIE-LABlab(66.08, 48.68, -42.71)
CIE-LCHlch(66.08, 64.76, 318.74°)
OKLaboklab(72.76% 0.1249 -0.1183)
OKLCHoklch(72.76% 0.172 316.5)
XYZxyz(49.5751, 35.4303, 85.0996)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181EE #9EEE81
analogous
#9B81EE #D181EE #EE81D4
triadic
#D181EE #EED181 #81EED1
tetradic
#D181EE #EE9B81 #9EEE81 #81D4EE
square
#D181EE #EE9B81 #9EEE81 #81D4EE
split-complementary
#D181EE #D4EE81 #81EE9B
monochromatic
#A61DD8 #BD4BE7 #D181EE #E5B7F5 #F5E4FB

Accessibility & contrast

On white

2.60
#D181EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D181EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181EE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181EE#FFFFFF#000000##000000
##D181EE1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF2
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#D090AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d181ee;
/* rgb */ color: rgb(209, 129, 238);
/* oklch */ color: oklch(72.8% 0.172 316.5);
Tailwind
colors: {
  custom: {
    50: '#e1a7f4',
    500: '#d181ee',
    950: '#000000',
  },
}
SCSS
$custom: #d181ee;
$custom-light: #e1a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d181ee",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 284.037,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72763,
    "c": 0.17201,
    "h": 316.5
  },
  "luminance": 0.35429
}

Semantic roles & 50–950 ramp

primary
#D181EE
secondary
#DFF3D8
accent
#D80D43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D181EE

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

Preview Lab → · Contrast checker → · Palette generator →

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