#D186FA#D186FA

#D186FA is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.1% C 0.177 H 312.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D186FA
RGBrgb(209, 134, 250)
HSLhsl(279, 92%, 75%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(16.4%, 46.4%, 0%, 2%)
CIE-LABlab(67.66, 48.54, -46.82)
CIE-LCHlch(67.66, 67.44, 316.03°)
OKLaboklab(74.12% 0.1197 -0.1302)
OKLCHoklch(74.12% 0.177 312.6)
XYZxyz(52.0720, 37.5088, 94.9208)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186FA #AFFA86
analogous
#9786FA #D186FA #FA86E9
triadic
#D186FA #FAD186 #86FAD1
tetradic
#D186FA #FA9786 #AFFA86 #86E9FA
square
#D186FA #FA9786 #AFFA86 #86E9FA
split-complementary
#D186FA #E9FA86 #86FA97
monochromatic
#A410F5 #BB4BF8 #D186FA #E7C1FC #F4E2FE

Accessibility & contrast

On white

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

On black

8.50
#D186FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186FA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186FA#FFFFFF#000000##000000
##D186FA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d186fa;
/* rgb */ color: rgb(209, 134, 250);
/* oklch */ color: oklch(74.1% 0.177 312.6);
Tailwind
colors: {
  custom: {
    50: '#e1abfc',
    500: '#d186fa',
    950: '#000000',
  },
}
SCSS
$custom: #d186fa;
$custom-light: #e1abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d186fa",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 278.793,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74116,
    "c": 0.17691,
    "h": 312.6
  },
  "luminance": 0.37508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D186FA

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

Preview Lab → · Contrast checker → · Palette generator →

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