#D186EA#D186EA

#D186EA is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.3% C 0.159 H 317.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D186EA
RGBrgb(209, 134, 234)
HSLhsl(285, 70%, 72%)
HSVhsv(285, 43%, 92%)
CMYKcmyk(10.7%, 42.7%, 0%, 8.2%)
CIE-LABlab(66.94, 45.25, -39.16)
CIE-LCHlch(66.94, 59.85, 319.12°)
OKLaboklab(73.34% 0.1172 -0.1081)
OKLCHoklch(73.34% 0.159 317.3)
XYZxyz(49.6688, 36.5475, 82.2639)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186EA #9FEA86
analogous
#9F86EA #D186EA #EA86D1
triadic
#D186EA #EAD186 #86EAD1
tetradic
#D186EA #EA9F86 #9FEA86 #86D1EA
square
#D186EA #EA9F86 #9FEA86 #86D1EA
split-complementary
#D186EA #D1EA86 #86EA9F
monochromatic
#A624D1 #BD52E1 #D186EA #E5BAF3 #F5E5FA

Accessibility & contrast

On white

2.53
#D186EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#D186EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186EA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186EA#FFFFFF#000000##000000
##D186EA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#D193AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d186ea;
/* rgb */ color: rgb(209, 134, 234);
/* oklch */ color: oklch(73.3% 0.159 317.3);
Tailwind
colors: {
  custom: {
    50: '#e1abf1',
    500: '#d186ea',
    950: '#000000',
  },
}
SCSS
$custom: #d186ea;
$custom-light: #e1abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d186ea",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 285,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.15948,
    "h": 317.3
  },
  "luminance": 0.36546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D186EA

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

Preview Lab → · Contrast checker → · Palette generator →

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