#D187EA#D187EA

#D187EA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.158 H 317.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D187EA
RGBrgb(209, 135, 234)
HSLhsl(285, 70%, 72%)
HSVhsv(285, 42%, 92%)
CMYKcmyk(10.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(67.15, 44.72, -38.84)
CIE-LCHlch(67.15, 59.23, 319.03°)
OKLaboklab(73.5% 0.1158 -0.1072)
OKLCHoklch(73.5% 0.158 317.2)
XYZxyz(49.8076, 36.8252, 82.3102)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187EA #A0EA87
analogous
#9F87EA #D187EA #EA87D2
triadic
#D187EA #EAD187 #87EAD1
tetradic
#D187EA #EA9F87 #A0EA87 #87D2EA
square
#D187EA #EA9F87 #A0EA87 #87D2EA
split-complementary
#D187EA #D2EA87 #87EA9F
monochromatic
#A625D2 #BD53E1 #D187EA #E5BBF3 #F5E5FA

Accessibility & contrast

On white

2.51
#D187EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#D187EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187EA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187EA#FFFFFF#000000##000000
##D187EA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#8AA6E7
Tritanopia (blue-blind)
#D194AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d187ea;
/* rgb */ color: rgb(209, 135, 234);
/* oklch */ color: oklch(73.5% 0.158 317.2);
Tailwind
colors: {
  custom: {
    50: '#e1abf1',
    500: '#d187ea',
    950: '#000000',
  },
}
SCSS
$custom: #d187ea;
$custom-light: #e1abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d187ea",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 284.848,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73499,
    "c": 0.15781,
    "h": 317.2
  },
  "luminance": 0.36824
}

Semantic roles & 50–950 ramp

primary
#D187EA
secondary
#DFF2D9
accent
#D21344
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D187EA

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

Preview Lab → · Contrast checker → · Palette generator →

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