#D181DC#D181DC

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

Color values

HEX#D181DC
RGBrgb(209, 129, 220)
HSLhsl(293, 57%, 68%)
HSVhsv(293, 41%, 86%)
CMYKcmyk(5%, 41.4%, 0%, 13.7%)
CIE-LABlab(65.30, 45.14, -33.96)
CIE-LCHlch(65.30, 56.49, 323.04°)
OKLaboklab(71.92% 0.1217 -0.0932)
OKLCHoklch(71.92% 0.153 322.6)
XYZxyz(47.0616, 34.4249, 71.8619)
Luminance0.3442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181DC #8CDC81
analogous
#A381DC #D181DC #DC81B9
triadic
#D181DC #DCD181 #81DCD1
tetradic
#D181DC #DCA381 #8CDC81 #81B9DC
square
#D181DC #DCA381 #8CDC81 #81B9DC
split-complementary
#D181DC #B9DC81 #81DCA3
monochromatic
#A231B1 #C051CF #D181DC #E2B1E9 #F4E1F7

Accessibility & contrast

On white

2.66
#D181DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D181DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181DC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181DC#FFFFFF#000000##000000
##D181DC1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699DF
Deuteranopia (green-blind)
#8BA2D9
Tritanopia (blue-blind)
#D48BA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d181dc;
/* rgb */ color: rgb(209, 129, 220);
/* oklch */ color: oklch(71.9% 0.153 322.6);
Tailwind
colors: {
  custom: {
    50: '#e0a7e7',
    500: '#d181dc',
    950: '#000000',
  },
}
SCSS
$custom: #d181dc;
$custom-light: #e0a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d181dc",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 292.747,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7192,
    "c": 0.1533,
    "h": 322.6
  },
  "luminance": 0.34423
}

Semantic roles & 50–950 ramp

primary
#D181DC
secondary
#D2EACF
accent
#C42135
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D181DC

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

Preview Lab → · Contrast checker → · Palette generator →

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