#D186EE#D186EE

#D186EE is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.164 H 316.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D186EE
RGBrgb(209, 134, 238)
HSLhsl(283, 75%, 73%)
HSVhsv(283, 44%, 93%)
CMYKcmyk(12.2%, 43.7%, 0%, 6.7%)
CIE-LABlab(67.11, 46.06, -41.09)
CIE-LCHlch(67.11, 61.73, 318.26°)
OKLaboklab(73.53% 0.1179 -0.1137)
OKLCHoklch(73.53% 0.164 316)
XYZxyz(50.2499, 36.7799, 85.3245)
Luminance0.3678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186EE #A3EE86
analogous
#9D86EE #D186EE #EE86D7
triadic
#D186EE #EED186 #86EED1
tetradic
#D186EE #EE9D86 #A3EE86 #86D7EE
square
#D186EE #EE9D86 #A3EE86 #86D7EE
split-complementary
#D186EE #D7EE86 #86EE9D
monochromatic
#A61FDB #BD50E6 #D186EE #E5BCF6 #F5E4FB

Accessibility & contrast

On white

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

On black

8.36
#D186EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186EE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186EE#FFFFFF#000000##000000
##D186EE1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#D094AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d186ee;
/* rgb */ color: rgb(209, 134, 238);
/* oklch */ color: oklch(73.5% 0.164 316.0);
Tailwind
colors: {
  custom: {
    50: '#e1abf4',
    500: '#d186ee',
    950: '#000000',
  },
}
SCSS
$custom: #d186ee;
$custom-light: #e1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d186ee",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 283.269,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73531,
    "c": 0.16379,
    "h": 316
  },
  "luminance": 0.36779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D186EE

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

Preview Lab → · Contrast checker → · Palette generator →

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