#D187DC#D187DC

#D187DC is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.9% C 0.143 H 322.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D187DC
RGBrgb(209, 135, 220)
HSLhsl(292, 55%, 70%)
HSVhsv(292, 39%, 86%)
CMYKcmyk(5%, 38.6%, 0%, 13.7%)
CIE-LABlab(66.56, 41.97, -32.01)
CIE-LCHlch(66.56, 52.78, 322.67°)
OKLaboklab(72.87% 0.113 -0.0876)
OKLCHoklch(72.87% 0.143 322.2)
XYZxyz(47.8753, 36.0523, 72.1332)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187DC #92DC87
analogous
#A687DC #D187DC #DC87BD
triadic
#D187DC #DCD187 #87DCD1
tetradic
#D187DC #DCA687 #92DC87 #87BDDC
square
#D187DC #DCA687 #92DC87 #87BDDC
split-complementary
#D187DC #BDDC87 #87DCA6
monochromatic
#A435B4 #BF58CE #D187DC #E3B6EA #F5E6F8

Accessibility & contrast

On white

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

On black

8.21
#D187DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187DC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187DC#FFFFFF#000000##000000
##D187DC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDF
Deuteranopia (green-blind)
#90A5D9
Tritanopia (blue-blind)
#D391A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d187dc;
/* rgb */ color: rgb(209, 135, 220);
/* oklch */ color: oklch(72.9% 0.143 322.2);
Tailwind
colors: {
  custom: {
    50: '#e0abe7',
    500: '#d187dc',
    950: '#000000',
  },
}
SCSS
$custom: #d187dc;
$custom-light: #e0abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d187dc",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 292.235,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.14302,
    "h": 322.2
  },
  "luminance": 0.36051
}

Semantic roles & 50–950 ramp

primary
#D187DC
secondary
#D6ECD3
accent
#C22338
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D187DC

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

Preview Lab → · Contrast checker → · Palette generator →

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