#D386FD#D386FD

#D386FD is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.5% C 0.181 H 312.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D386FD
RGBrgb(211, 134, 253)
HSLhsl(279, 97%, 76%)
HSVhsv(279, 47%, 99%)
CMYKcmyk(16.6%, 47%, 0%, 0.8%)
CIE-LABlab(68.01, 49.71, -47.88)
CIE-LCHlch(68.01, 69.02, 316.07°)
OKLaboklab(74.48% 0.1225 -0.1333)
OKLCHoklch(74.48% 0.181 312.6)
XYZxyz(53.1157, 37.9921, 97.4446)
Luminance0.3799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386FD #B0FD86
analogous
#9786FD #D386FD #FD86EB
triadic
#D386FD #FDD386 #86FDD3
tetradic
#D386FD #FD9786 #B0FD86 #86EBFD
square
#D386FD #FD9786 #B0FD86 #86EBFD
split-complementary
#D386FD #EBFD86 #86FD97
monochromatic
#A70EFB #BD4AFC #D386FD #E9C2FE #F4E1FF

Accessibility & contrast

On white

2.44
#D386FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#D386FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D386FD
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D386FD#FFFFFF#000000##000000
##D386FD1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#CF98B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d386fd;
/* rgb */ color: rgb(211, 134, 253);
/* oklch */ color: oklch(74.5% 0.181 312.6);
Tailwind
colors: {
  custom: {
    50: '#e2abfe',
    500: '#d386fd',
    950: '#000000',
  },
}
SCSS
$custom: #d386fd;
$custom-light: #e2abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d386fd",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 278.824,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74477,
    "c": 0.181,
    "h": 312.6
  },
  "luminance": 0.37991
}

Semantic roles & 50–950 ramp

primary
#D386FD
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D386FD

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

Preview Lab → · Contrast checker → · Palette generator →

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