#D187DB#D187DB

#D187DB is a light, vivid purple. Relative luminance 0.360; OKLCH L 72.8% C 0.142 H 322.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#D187DB
RGBrgb(209, 135, 219)
HSLhsl(293, 54%, 69%)
HSVhsv(293, 38%, 86%)
CMYKcmyk(4.6%, 38.4%, 0%, 14.1%)
CIE-LABlab(66.52, 41.77, -31.51)
CIE-LCHlch(66.52, 52.33, 322.97°)
OKLaboklab(72.82% 0.1128 -0.0862)
OKLCHoklch(72.82% 0.142 322.6)
XYZxyz(47.7432, 35.9994, 71.4378)
Luminance0.3600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187DB #91DB87
analogous
#A787DB #D187DB #DB87BB
triadic
#D187DB #DBD187 #87DBD1
tetradic
#D187DB #DBA787 #91DB87 #87BBDB
square
#D187DB #DBA787 #91DB87 #87BBDB
split-complementary
#D187DB #BBDB87 #87DBA7
monochromatic
#A335B2 #BF58CD #D187DB #E3B6E9 #F5E5F7

Accessibility & contrast

On white

2.56
#D187DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#D187DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187DB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187DB#FFFFFF#000000##000000
##D187DB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDE
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#D490A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d187db;
/* rgb */ color: rgb(209, 135, 219);
/* oklch */ color: oklch(72.8% 0.142 322.6);
Tailwind
colors: {
  custom: {
    50: '#e0abe6',
    500: '#d187db',
    950: '#000000',
  },
}
SCSS
$custom: #d187db;
$custom-light: #e0abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#d187db",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 292.857,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.142,
    "h": 322.6
  },
  "luminance": 0.35998
}

Semantic roles & 50–950 ramp

primary
#D187DB
secondary
#D6EBD3
accent
#C12437
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D187DB

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

Preview Lab → · Contrast checker → · Palette generator →

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