#D187EB#D187EB

#D187EB is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.5% C 0.159 H 316.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D187EB
RGBrgb(209, 135, 235)
HSLhsl(284, 71%, 73%)
HSVhsv(284, 43%, 92%)
CMYKcmyk(11.1%, 42.6%, 0%, 7.8%)
CIE-LABlab(67.19, 44.92, -39.32)
CIE-LCHlch(67.19, 59.70, 318.81°)
OKLaboklab(73.55% 0.116 -0.1086)
OKLCHoklch(73.55% 0.159 316.9)
XYZxyz(49.9517, 36.8828, 83.0689)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187EB #A1EB87
analogous
#9F87EB #D187EB #EB87D3
triadic
#D187EB #EBD187 #87EBD1
tetradic
#D187EB #EB9F87 #A1EB87 #87D3EB
square
#D187EB #EB9F87 #A1EB87 #87D3EB
split-complementary
#D187EB #D3EB87 #87EB9F
monochromatic
#A623D4 #BD53E2 #D187EB #E5BBF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.38
#D187EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187EB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187EB#FFFFFF#000000##000000
##D187EB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#D094AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d187eb;
/* rgb */ color: rgb(209, 135, 235);
/* oklch */ color: oklch(73.5% 0.159 316.9);
Tailwind
colors: {
  custom: {
    50: '#e1abf2',
    500: '#d187eb',
    950: '#000000',
  },
}
SCSS
$custom: #d187eb;
$custom-light: #e1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d187eb",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 284.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.15889,
    "h": 316.9
  },
  "luminance": 0.36881
}

Semantic roles & 50–950 ramp

primary
#D187EB
secondary
#DFF2D9
accent
#D31244
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D187EB

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

Preview Lab → · Contrast checker → · Palette generator →

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