#D186DF#D186DF

#D186DF is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.8% C 0.148 H 321.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D186DF
RGBrgb(209, 134, 223)
HSLhsl(291, 58%, 70%)
HSVhsv(291, 40%, 87%)
CMYKcmyk(6.3%, 39.9%, 0%, 12.5%)
CIE-LABlab(66.47, 43.08, -33.81)
CIE-LCHlch(66.47, 54.76, 321.87°)
OKLaboklab(72.84% 0.1151 -0.0928)
OKLCHoklch(72.84% 0.148 321.1)
XYZxyz(48.1373, 35.9349, 74.1982)
Luminance0.3593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186DF #94DF86
analogous
#A586DF #D186DF #DF86C0
triadic
#D186DF #DFD186 #86DFD1
tetradic
#D186DF #DFA586 #94DF86 #86C0DF
square
#D186DF #DFA586 #94DF86 #86C0DF
split-complementary
#D186DF #C0DF86 #86DFA5
monochromatic
#A431BA #BF56D2 #D186DF #E3B6EC #F6E7F9

Accessibility & contrast

On white

2.57
#D186DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#D186DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186DF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186DF#FFFFFF#000000##000000
##D186DF1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE2
Deuteranopia (green-blind)
#8EA5DC
Tritanopia (blue-blind)
#D390A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d186df;
/* rgb */ color: rgb(209, 134, 223);
/* oklch */ color: oklch(72.8% 0.148 321.1);
Tailwind
colors: {
  custom: {
    50: '#e0abe9',
    500: '#d186df',
    950: '#000000',
  },
}
SCSS
$custom: #d186df;
$custom-light: #e0abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#d186df",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 290.562,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.7284,
    "c": 0.14785,
    "h": 321.1
  },
  "luminance": 0.35933
}

Semantic roles & 50–950 ramp

primary
#D186DF
secondary
#D8EDD4
accent
#C6203A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D186DF

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

Preview Lab → · Contrast checker → · Palette generator →

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