#D187CD#D187CD

#D187CD is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.2% C 0.128 H 328.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D187CD
RGBrgb(209, 135, 205)
HSLhsl(303, 45%, 67%)
HSVhsv(303, 35%, 82%)
CMYKcmyk(0%, 35.4%, 1.9%, 18%)
CIE-LABlab(65.98, 39.15, -24.55)
CIE-LCHlch(65.98, 46.21, 327.91°)
OKLaboklab(72.24% 0.1095 -0.0666)
OKLCHoklch(72.24% 0.128 328.7)
XYZxyz(45.9771, 35.2930, 62.1362)
Luminance0.3529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187CD #87D18B
analogous
#B087D1 #D187CD #D187A8
triadic
#D187CD #CDD187 #87CDD1
tetradic
#D187CD #D1B087 #87D18B #87A8D1
square
#D187CD #D1B087 #87D18B #87A8D1
split-complementary
#D187CD #A8D187 #87D1B0
monochromatic
#A03D9B #C05BBB #D187CD #E2B3DF #F3DFF2

Accessibility & contrast

On white

2.61
#D187CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D187CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187CD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187CD#FFFFFF#000000##000000
##D187CD1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#839AD0
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#D68DA1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d187cd;
/* rgb */ color: rgb(209, 135, 205);
/* oklch */ color: oklch(72.2% 0.128 328.7);
Tailwind
colors: {
  custom: {
    50: '#e0abdc',
    500: '#d187cd',
    950: '#000000',
  },
}
SCSS
$custom: #d187cd;
$custom-light: #e0abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d187cd",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 303.243,
    "s": 44.578,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72235,
    "c": 0.1281,
    "h": 328.7
  },
  "luminance": 0.35291
}

Semantic roles & 50–950 ramp

primary
#D187CD
secondary
#CEE5D0
accent
#B8352E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D187CD

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

Preview Lab → · Contrast checker → · Palette generator →

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