#D187EF#D187EF

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

Color values

HEX#D187EF
RGBrgb(209, 135, 239)
HSLhsl(283, 76%, 73%)
HSVhsv(283, 44%, 94%)
CMYKcmyk(12.6%, 43.5%, 0%, 6.3%)
CIE-LABlab(67.36, 45.74, -41.25)
CIE-LCHlch(67.36, 61.59, 317.95°)
OKLaboklab(73.74% 0.1167 -0.1141)
OKLCHoklch(73.74% 0.163 315.6)
XYZxyz(50.5361, 37.1166, 86.1467)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187EF #A5EF87
analogous
#9D87EF #D187EF #EF87D9
triadic
#D187EF #EFD187 #87EFD1
tetradic
#D187EF #EF9D87 #A5EF87 #87D9EF
square
#D187EF #EF9D87 #A5EF87 #87D9EF
split-complementary
#D187EF #D9EF87 #87EF9D
monochromatic
#A61EDE #BC51E8 #D187EF #E6BDF6 #F5E4FB

Accessibility & contrast

On white

2.49
#D187EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#D187EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187EF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187EF#FFFFFF#000000##000000
##D187EF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#D096B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d187ef;
/* rgb */ color: rgb(209, 135, 239);
/* oklch */ color: oklch(73.7% 0.163 315.6);
Tailwind
colors: {
  custom: {
    50: '#e1abf4',
    500: '#d187ef',
    950: '#000000',
  },
}
SCSS
$custom: #d187ef;
$custom-light: #e1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d187ef",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 282.692,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.16322,
    "h": 315.6
  },
  "luminance": 0.37115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D187EF

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

Preview Lab → · Contrast checker → · Palette generator →

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