#D181CD#D181CD

#D181CD is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.3% C 0.139 H 328.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D181CD
RGBrgb(209, 129, 205)
HSLhsl(303, 47%, 66%)
HSVhsv(303, 38%, 82%)
CMYKcmyk(0%, 38.3%, 1.9%, 18%)
CIE-LABlab(64.70, 42.34, -26.52)
CIE-LCHlch(64.70, 49.96, 327.94°)
OKLaboklab(71.27% 0.1184 -0.072)
OKLCHoklch(71.27% 0.139 328.7)
XYZxyz(45.1635, 33.6657, 61.8649)
Luminance0.3366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181CD #81D185
analogous
#AD81D1 #D181CD #D181A5
triadic
#D181CD #CDD181 #81CDD1
tetradic
#D181CD #D1AD81 #81D185 #81A5D1
square
#D181CD #D1AD81 #81D185 #81A5D1
split-complementary
#D181CD #A5D181 #81D1AD
monochromatic
#9E3A99 #C154BB #D181CD #E1AEDF #F2DBF1

Accessibility & contrast

On white

2.72
#D181CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D181CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181CD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181CD#FFFFFF#000000##000000
##D181CD1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D0
Deuteranopia (green-blind)
#91A1CA
Tritanopia (blue-blind)
#D6889E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d181cd;
/* rgb */ color: rgb(209, 129, 205);
/* oklch */ color: oklch(71.3% 0.139 328.7);
Tailwind
colors: {
  custom: {
    50: '#e0a7dc',
    500: '#d181cd',
    950: '#000000',
  },
}
SCSS
$custom: #d181cd;
$custom-light: #e0a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d181cd",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 303,
    "s": 46.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.13862,
    "h": 328.7
  },
  "luminance": 0.33664
}

Semantic roles & 50–950 ramp

primary
#D181CD
secondary
#CAE4CB
accent
#BA332C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D181CD

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

Preview Lab → · Contrast checker → · Palette generator →

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