#D186FD#D186FD

#D186FD is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.3% C 0.180 H 311.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D186FD
RGBrgb(209, 134, 253)
HSLhsl(278, 97%, 76%)
HSVhsv(278, 47%, 99%)
CMYKcmyk(17.4%, 47%, 0%, 0.8%)
CIE-LABlab(67.80, 49.17, -48.24)
CIE-LCHlch(67.80, 68.88, 315.55°)
OKLaboklab(74.27% 0.1201 -0.1343)
OKLCHoklch(74.27% 0.18 311.8)
XYZxyz(52.5461, 37.6984, 97.4179)
Luminance0.3770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186FD #B2FD86
analogous
#9586FD #D186FD #FD86EE
triadic
#D186FD #FDD186 #86FDD1
tetradic
#D186FD #FD9586 #B2FD86 #86EEFD
square
#D186FD #FD9586 #B2FD86 #86EEFD
split-complementary
#D186FD #EEFD86 #86FD95
monochromatic
#A30EFB #BA4AFC #D186FD #E8C2FE #F4E1FF

Accessibility & contrast

On white

2.46
#D186FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D186FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186FD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186FD#FFFFFF#000000##000000
##D186FD1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#CC99B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d186fd;
/* rgb */ color: rgb(209, 134, 253);
/* oklch */ color: oklch(74.3% 0.180 311.8);
Tailwind
colors: {
  custom: {
    50: '#e1abfe',
    500: '#d186fd',
    950: '#000000',
  },
}
SCSS
$custom: #d186fd;
$custom-light: #e1abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d186fd",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 277.815,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74267,
    "c": 0.18022,
    "h": 311.8
  },
  "luminance": 0.37697
}

Semantic roles & 50–950 ramp

primary
#D186FD
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D186FD

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

Preview Lab → · Contrast checker → · Palette generator →

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