#D186F9#D186F9

#D186F9 is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.1% C 0.176 H 312.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#D186F9
RGBrgb(209, 134, 249)
HSLhsl(279, 91%, 75%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(16.1%, 46.2%, 0%, 2.4%)
CIE-LABlab(67.61, 48.33, -46.35)
CIE-LCHlch(67.61, 66.96, 316.20°)
OKLaboklab(74.07% 0.1196 -0.1289)
OKLCHoklch(74.07% 0.176 312.9)
XYZxyz(51.9156, 37.4462, 94.0972)
Luminance0.3745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186F9 #AEF986
analogous
#9786F9 #D186F9 #F986E8
triadic
#D186F9 #F9D186 #86F9D1
tetradic
#D186F9 #F99786 #AEF986 #86E8F9
square
#D186F9 #F99786 #AEF986 #86E8F9
split-complementary
#D186F9 #E8F986 #86F997
monochromatic
#A511F3 #BB4CF6 #D186F9 #E7C0FC #F4E2FE

Accessibility & contrast

On white

2.47
#D186F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#D186F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186F9
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186F9#FFFFFF#000000##000000
##D186F91.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FD
Deuteranopia (green-blind)
#82A6F6
Tritanopia (blue-blind)
#CD98B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d186f9;
/* rgb */ color: rgb(209, 134, 249);
/* oklch */ color: oklch(74.1% 0.176 312.9);
Tailwind
colors: {
  custom: {
    50: '#e1abfb',
    500: '#d186f9',
    950: '#000000',
  },
}
SCSS
$custom: #d186f9;
$custom-light: #e1abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d186f9",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 279.13,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74067,
    "c": 0.17581,
    "h": 312.9
  },
  "luminance": 0.37445
}

Semantic roles & 50–950 ramp

primary
#D186F9
secondary
#E1F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D186F9

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

Preview Lab → · Contrast checker → · Palette generator →

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