#D186F8#D186F8

#D186F8 is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.0% C 0.175 H 313.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D186F8
RGBrgb(209, 134, 248)
HSLhsl(279, 89%, 75%)
HSVhsv(279, 46%, 97%)
CMYKcmyk(15.7%, 46%, 0%, 2.7%)
CIE-LABlab(67.56, 48.12, -45.87)
CIE-LCHlch(67.56, 66.48, 316.37°)
OKLaboklab(74.02% 0.1195 -0.1275)
OKLCHoklch(74.02% 0.175 313.1)
XYZxyz(51.7600, 37.3840, 93.2779)
Luminance0.3738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186F8 #ADF886
analogous
#9886F8 #D186F8 #F886E6
triadic
#D186F8 #F8D186 #86F8D1
tetradic
#D186F8 #F89886 #ADF886 #86E6F8
square
#D186F8 #F89886 #ADF886 #86E6F8
split-complementary
#D186F8 #E6F886 #86F898
monochromatic
#A512F1 #BB4CF5 #D186F8 #E7C0FB #F4E2FD

Accessibility & contrast

On white

2.48
#D186F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#D186F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186F8
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186F8#FFFFFF#000000##000000
##D186F81.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#83A6F5
Tritanopia (blue-blind)
#CE97B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d186f8;
/* rgb */ color: rgb(209, 134, 248);
/* oklch */ color: oklch(74.0% 0.175 313.1);
Tailwind
colors: {
  custom: {
    50: '#e1abfb',
    500: '#d186f8',
    950: '#000000',
  },
}
SCSS
$custom: #d186f8;
$custom-light: #e1abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d186f8",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 279.474,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74017,
    "c": 0.17471,
    "h": 313.1
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

primary
#D186F8
secondary
#E0F5D6
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D186F8

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

Preview Lab → · Contrast checker → · Palette generator →

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