#D181CA#D181CA

#D181CA is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.1% C 0.136 H 330.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D181CA
RGBrgb(209, 129, 202)
HSLhsl(305, 47%, 66%)
HSVhsv(305, 38%, 82%)
CMYKcmyk(0%, 38.3%, 3.3%, 18%)
CIE-LABlab(64.58, 41.80, -25.01)
CIE-LCHlch(64.58, 48.71, 329.10°)
OKLaboklab(71.15% 0.1177 -0.0678)
OKLCHoklch(71.15% 0.136 330.1)
XYZxyz(44.8048, 33.5222, 59.9761)
Luminance0.3352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181CA #81D188
analogous
#B081D1 #D181CA #D181A2
triadic
#D181CA #CAD181 #81CAD1
tetradic
#D181CA #D1B081 #81D188 #81A2D1
square
#D181CA #D1B081 #81D188 #81A2D1
split-complementary
#D181CA #A2D181 #81D1B0
monochromatic
#9E3A95 #C154B7 #D181CA #E1AEDD #F2DBF0

Accessibility & contrast

On white

2.73
#D181CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D181CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181CA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181CA#FFFFFF#000000##000000
##D181CA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#92A1C7
Tritanopia (blue-blind)
#D7879C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d181ca;
/* rgb */ color: rgb(209, 129, 202);
/* oklch */ color: oklch(71.1% 0.136 330.1);
Tailwind
colors: {
  custom: {
    50: '#e0a7da',
    500: '#d181ca',
    950: '#000000',
  },
}
SCSS
$custom: #d181ca;
$custom-light: #e0a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#d181ca",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 305.25,
    "s": 46.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71146,
    "c": 0.13582,
    "h": 330.1
  },
  "luminance": 0.3352
}

Semantic roles & 50–950 ramp

primary
#D181CA
secondary
#CAE4CC
accent
#BA382C
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #D181CA

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

Preview Lab → · Contrast checker → · Palette generator →

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