#D181DB#D181DB

#D181DB is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.9% C 0.152 H 322.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D181DB
RGBrgb(209, 129, 219)
HSLhsl(293, 56%, 68%)
HSVhsv(293, 41%, 86%)
CMYKcmyk(4.6%, 41.1%, 0%, 14.1%)
CIE-LABlab(65.26, 44.95, -33.47)
CIE-LCHlch(65.26, 56.04, 323.33°)
OKLaboklab(71.88% 0.1215 -0.0918)
OKLCHoklch(71.88% 0.152 322.9)
XYZxyz(46.9296, 34.3721, 71.1665)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181DB #8BDB81
analogous
#A481DB #D181DB #DB81B8
triadic
#D181DB #DBD181 #81DBD1
tetradic
#D181DB #DBA481 #8BDB81 #81B8DB
square
#D181DB #DBA481 #8BDB81 #81B8DB
split-complementary
#D181DB #B8DB81 #81DBA4
monochromatic
#A232AF #C051CD #D181DB #E2B1E9 #F4E0F6

Accessibility & contrast

On white

2.67
#D181DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D181DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181DB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181DB#FFFFFF#000000##000000
##D181DB1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DE
Deuteranopia (green-blind)
#8CA2D8
Tritanopia (blue-blind)
#D48BA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d181db;
/* rgb */ color: rgb(209, 129, 219);
/* oklch */ color: oklch(71.9% 0.152 322.9);
Tailwind
colors: {
  custom: {
    50: '#e0a7e6',
    500: '#d181db',
    950: '#000000',
  },
}
SCSS
$custom: #d181db;
$custom-light: #e0a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d181db",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 293.333,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.15228,
    "h": 322.9
  },
  "luminance": 0.3437
}

Semantic roles & 50–950 ramp

primary
#D181DB
secondary
#D1EACE
accent
#C32234
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D181DB

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

Preview Lab → · Contrast checker → · Palette generator →

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