#D186FF#D186FF

#D186FF is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.4% C 0.182 H 311.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D186FF
RGBrgb(209, 134, 255)
HSLhsl(277, 100%, 76%)
HSVhsv(277, 47%, 100%)
CMYKcmyk(18%, 47.5%, 0%, 0%)
CIE-LABlab(67.89, 49.59, -49.18)
CIE-LCHlch(67.89, 69.84, 315.24°)
OKLaboklab(74.37% 0.1204 -0.1371)
OKLCHoklch(74.37% 0.182 311.3)
XYZxyz(52.8664, 37.8265, 99.1046)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186FF #B4FF86
analogous
#9586FF #D186FF #FF86F1
triadic
#D186FF #FFD186 #86FFD1
tetradic
#D186FF #FF9586 #B4FF86 #86F1FF
square
#D186FF #FF9586 #B4FF86 #86F1FF
split-complementary
#D186FF #F1FF86 #86FF95
monochromatic
#A20CFF #BA49FF #D186FF #E8C3FF #F3E0FF

Accessibility & contrast

On white

2.45
#D186FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D186FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186FF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186FF#FFFFFF#000000##000000
##D186FF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#CC99B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d186ff;
/* rgb */ color: rgb(209, 134, 255);
/* oklch */ color: oklch(74.4% 0.182 311.3);
Tailwind
colors: {
  custom: {
    50: '#e1abff',
    500: '#d186ff',
    950: '#000000',
  },
}
SCSS
$custom: #d186ff;
$custom-light: #e1abff;
$custom-dark: #000000;
JSON
{
  "hex": "#d186ff",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 277.19,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74369,
    "c": 0.18244,
    "h": 311.3
  },
  "luminance": 0.37826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D186FF

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

Preview Lab → · Contrast checker → · Palette generator →

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