#D181CF#D181CF

#D181CF is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.4% C 0.141 H 327.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D181CF
RGBrgb(209, 129, 207)
HSLhsl(302, 47%, 66%)
HSVhsv(302, 38%, 82%)
CMYKcmyk(0%, 38.3%, 1%, 18%)
CIE-LABlab(64.77, 42.70, -27.52)
CIE-LCHlch(64.77, 50.80, 327.20°)
OKLaboklab(71.35% 0.1189 -0.0749)
OKLCHoklch(71.35% 0.141 327.8)
XYZxyz(45.4064, 33.7629, 63.1445)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181CF #81D183
analogous
#AB81D1 #D181CF #D181A7
triadic
#D181CF #CFD181 #81CFD1
tetradic
#D181CF #D1AB81 #81D183 #81A7D1
square
#D181CF #D1AB81 #81D183 #81A7D1
split-complementary
#D181CF #A7D181 #81D1AB
monochromatic
#9E3A9B #C154BE #D181CF #E1AEE0 #F2DBF1

Accessibility & contrast

On white

2.71
#D181CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D181CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181CF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181CF#FFFFFF#000000##000000
##D181CF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D2
Deuteranopia (green-blind)
#90A1CC
Tritanopia (blue-blind)
#D6889F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d181cf;
/* rgb */ color: rgb(209, 129, 207);
/* oklch */ color: oklch(71.4% 0.141 327.8);
Tailwind
colors: {
  custom: {
    50: '#e0a7de',
    500: '#d181cf',
    950: '#000000',
  },
}
SCSS
$custom: #d181cf;
$custom-light: #e0a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#d181cf",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 301.5,
    "s": 46.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71354,
    "c": 0.14051,
    "h": 327.8
  },
  "luminance": 0.33761
}

Semantic roles & 50–950 ramp

primary
#D181CF
secondary
#CAE4CA
accent
#BA2F2C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D181CF

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

Preview Lab → · Contrast checker → · Palette generator →

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