#D386FC#D386FC

#D386FC is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.4% C 0.180 H 312.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#D386FC
RGBrgb(211, 134, 252)
HSLhsl(279, 95%, 76%)
HSVhsv(279, 47%, 99%)
CMYKcmyk(16.3%, 46.8%, 0%, 1.2%)
CIE-LABlab(67.97, 49.50, -47.41)
CIE-LCHlch(67.97, 68.54, 316.24°)
OKLaboklab(74.43% 0.1224 -0.1319)
OKLCHoklch(74.43% 0.18 312.9)
XYZxyz(52.9568, 37.9285, 96.6078)
Luminance0.3793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386FC #AFFC86
analogous
#9886FC #D386FC #FC86EA
triadic
#D386FC #FCD386 #86FCD3
tetradic
#D386FC #FC9886 #AFFC86 #86EAFC
square
#D386FC #FC9886 #AFFC86 #86EAFC
split-complementary
#D386FC #EAFC86 #86FC98
monochromatic
#A80FF9 #BD4AFB #D386FC #E9C2FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.59
#D386FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D386FC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D386FC#FFFFFF#000000##000000
##D386FC1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#82A7F9
Tritanopia (blue-blind)
#CF98B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d386fc;
/* rgb */ color: rgb(211, 134, 252);
/* oklch */ color: oklch(74.4% 0.180 312.9);
Tailwind
colors: {
  custom: {
    50: '#e2abfe',
    500: '#d386fc',
    950: '#000000',
  },
}
SCSS
$custom: #d386fc;
$custom-light: #e2abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d386fc",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 279.153,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74427,
    "c": 0.1799,
    "h": 312.9
  },
  "luminance": 0.37927
}

Semantic roles & 50–950 ramp

primary
#D386FC
secondary
#E0F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D386FC

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

Preview Lab → · Contrast checker → · Palette generator →

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