#D181EF#D181EF

#D181EF is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.173 H 316.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D181EF
RGBrgb(209, 129, 239)
HSLhsl(284, 77%, 72%)
HSVhsv(284, 46%, 94%)
CMYKcmyk(12.6%, 46%, 0%, 6.3%)
CIE-LABlab(66.13, 48.88, -43.19)
CIE-LCHlch(66.13, 65.22, 318.54°)
OKLaboklab(72.81% 0.125 -0.1197)
OKLCHoklch(72.81% 0.173 316.2)
XYZxyz(49.7224, 35.4893, 85.8755)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181EF #9FEF81
analogous
#9A81EF #D181EF #EF81D6
triadic
#D181EF #EFD181 #81EFD1
tetradic
#D181EF #EF9A81 #9FEF81 #81D6EF
square
#D181EF #EF9A81 #9FEF81 #81D6EF
split-complementary
#D181EF #D6EF81 #81EF9A
monochromatic
#A61CDA #BD4BE8 #D181EF #E5B7F6 #F5E4FC

Accessibility & contrast

On white

2.59
#D181EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D181EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181EF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181EF#FFFFFF#000000##000000
##D181EF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D091AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d181ef;
/* rgb */ color: rgb(209, 129, 239);
/* oklch */ color: oklch(72.8% 0.173 316.2);
Tailwind
colors: {
  custom: {
    50: '#e1a7f4',
    500: '#d181ef',
    950: '#000000',
  },
}
SCSS
$custom: #d181ef;
$custom-light: #e1a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d181ef",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 283.636,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72811,
    "c": 0.17308,
    "h": 316.2
  },
  "luminance": 0.35488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D181EF

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

Preview Lab → · Contrast checker → · Palette generator →

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