#D187EE#D187EE

#D187EE is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.7% C 0.162 H 315.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#D187EE
RGBrgb(209, 135, 238)
HSLhsl(283, 75%, 73%)
HSVhsv(283, 43%, 93%)
CMYKcmyk(12.2%, 43.3%, 0%, 6.7%)
CIE-LABlab(67.32, 45.53, -40.77)
CIE-LCHlch(67.32, 61.11, 318.16°)
OKLaboklab(73.69% 0.1165 -0.1127)
OKLCHoklch(73.69% 0.162 315.9)
XYZxyz(50.3888, 37.0577, 85.3708)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187EE #A4EE87
analogous
#9D87EE #D187EE #EE87D7
triadic
#D187EE #EED187 #87EED1
tetradic
#D187EE #EE9D87 #A4EE87 #87D7EE
square
#D187EE #EE9D87 #A4EE87 #87D7EE
split-complementary
#D187EE #D7EE87 #87EE9D
monochromatic
#A61FDC #BC51E6 #D187EE #E6BDF6 #F5E4FB

Accessibility & contrast

On white

2.50
#D187EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#D187EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187EE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187EE#FFFFFF#000000##000000
##D187EE1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#D095AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d187ee;
/* rgb */ color: rgb(209, 135, 238);
/* oklch */ color: oklch(73.7% 0.162 315.9);
Tailwind
colors: {
  custom: {
    50: '#e1abf4',
    500: '#d187ee',
    950: '#000000',
  },
}
SCSS
$custom: #d187ee;
$custom-light: #e1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d187ee",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 283.107,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73687,
    "c": 0.16214,
    "h": 315.9
  },
  "luminance": 0.37056
}

Semantic roles & 50–950 ramp

primary
#D187EE
secondary
#E0F3D8
accent
#D70E47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D187EE

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

Preview Lab → · Contrast checker → · Palette generator →

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