#D181DF#D181DF

#D181DF is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.1% C 0.156 H 321.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#D181DF
RGBrgb(209, 129, 223)
HSLhsl(291, 59%, 69%)
HSVhsv(291, 42%, 87%)
CMYKcmyk(6.3%, 42.2%, 0%, 12.5%)
CIE-LABlab(65.42, 45.71, -35.43)
CIE-LCHlch(65.42, 57.84, 322.22°)
OKLaboklab(72.06% 0.1223 -0.0974)
OKLCHoklch(72.06% 0.156 321.5)
XYZxyz(47.4625, 34.5853, 73.9732)
Luminance0.3458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181DF #8FDF81
analogous
#A281DF #D181DF #DF81BE
triadic
#D181DF #DFD181 #81DFD1
tetradic
#D181DF #DFA281 #8FDF81 #81BEDF
square
#D181DF #DFA281 #8FDF81 #81BEDF
split-complementary
#D181DF #BEDF81 #81DFA2
monochromatic
#A32FB7 #BF50D3 #D181DF #E3B2EB #F5E3F8

Accessibility & contrast

On white

2.65
#D181DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#D181DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181DF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181DF#FFFFFF#000000##000000
##D181DF1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#D38CA6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d181df;
/* rgb */ color: rgb(209, 129, 223);
/* oklch */ color: oklch(72.1% 0.156 321.5);
Tailwind
colors: {
  custom: {
    50: '#e1a7e9',
    500: '#d181df',
    950: '#000000',
  },
}
SCSS
$custom: #d181df;
$custom-light: #e1a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d181df",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 291.064,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72056,
    "c": 0.15635,
    "h": 321.5
  },
  "luminance": 0.34584
}

Semantic roles & 50–950 ramp

primary
#D181DF
secondary
#D4ECD0
accent
#C71E37
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D181DF

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

Preview Lab → · Contrast checker → · Palette generator →

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