#D186EF#D186EF

#D186EF is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.6% C 0.165 H 315.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D186EF
RGBrgb(209, 134, 239)
HSLhsl(283, 77%, 73%)
HSVhsv(283, 44%, 94%)
CMYKcmyk(12.6%, 43.9%, 0%, 6.3%)
CIE-LABlab(67.16, 46.26, -41.57)
CIE-LCHlch(67.16, 62.20, 318.06°)
OKLaboklab(73.58% 0.1181 -0.1151)
OKLCHoklch(73.58% 0.165 315.7)
XYZxyz(50.3972, 36.8388, 86.1004)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186EF #A4EF86
analogous
#9C86EF #D186EF #EF86D8
triadic
#D186EF #EFD186 #86EFD1
tetradic
#D186EF #EF9C86 #A4EF86 #86D8EF
square
#D186EF #EF9C86 #A4EF86 #86D8EF
split-complementary
#D186EF #D8EF86 #86EF9C
monochromatic
#A61DDD #BC50E8 #D186EF #E6BCF6 #F5E4FB

Accessibility & contrast

On white

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

On black

8.37
#D186EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186EF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186EF#FFFFFF#000000##000000
##D186EF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#D095AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d186ef;
/* rgb */ color: rgb(209, 134, 239);
/* oklch */ color: oklch(73.6% 0.165 315.7);
Tailwind
colors: {
  custom: {
    50: '#e1abf4',
    500: '#d186ef',
    950: '#000000',
  },
}
SCSS
$custom: #d186ef;
$custom-light: #e1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d186ef",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 282.857,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73579,
    "c": 0.16488,
    "h": 315.7
  },
  "luminance": 0.36837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D186EF

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

Preview Lab → · Contrast checker → · Palette generator →

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