#D186EB#D186EB

#D186EB is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.4% C 0.161 H 317.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#D186EB
RGBrgb(209, 134, 235)
HSLhsl(285, 72%, 72%)
HSVhsv(285, 43%, 92%)
CMYKcmyk(11.1%, 43%, 0%, 7.8%)
CIE-LABlab(66.98, 45.45, -39.65)
CIE-LCHlch(66.98, 60.31, 318.90°)
OKLaboklab(73.39% 0.1174 -0.1095)
OKLCHoklch(73.39% 0.161 317)
XYZxyz(49.8128, 36.6051, 83.0226)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186EB #A0EB86
analogous
#9E86EB #D186EB #EB86D3
triadic
#D186EB #EBD186 #86EBD1
tetradic
#D186EB #EB9E86 #A0EB86 #86D3EB
square
#D186EB #EB9E86 #A0EB86 #86D3EB
split-complementary
#D186EB #D3EB86 #86EB9E
monochromatic
#A623D4 #BD51E2 #D186EB #E5BBF4 #F5E5FB

Accessibility & contrast

On white

2.52
#D186EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#D186EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186EB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186EB#FFFFFF#000000##000000
##D186EB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#D094AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d186eb;
/* rgb */ color: rgb(209, 134, 235);
/* oklch */ color: oklch(73.4% 0.161 317.0);
Tailwind
colors: {
  custom: {
    50: '#e1abf2',
    500: '#d186eb',
    950: '#000000',
  },
}
SCSS
$custom: #d186eb;
$custom-light: #e1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d186eb",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 284.554,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73389,
    "c": 0.16055,
    "h": 317
  },
  "luminance": 0.36604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D186EB

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

Preview Lab → · Contrast checker → · Palette generator →

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