#D386FB#D386FB

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

Color values

HEX#D386FB
RGBrgb(211, 134, 251)
HSLhsl(279, 94%, 75%)
HSVhsv(279, 47%, 98%)
CMYKcmyk(15.9%, 46.6%, 0%, 1.6%)
CIE-LABlab(67.92, 49.29, -46.94)
CIE-LCHlch(67.92, 68.07, 316.40°)
OKLaboklab(74.38% 0.1222 -0.1305)
OKLCHoklch(74.38% 0.179 313.1)
XYZxyz(52.7987, 37.8653, 95.7755)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386FB #AEFB86
analogous
#9886FB #D386FB #FB86E9
triadic
#D386FB #FBD386 #86FBD3
tetradic
#D386FB #FB9886 #AEFB86 #86E9FB
square
#D386FB #FB9886 #AEFB86 #86E9FB
split-complementary
#D386FB #E9FB86 #86FB98
monochromatic
#A810F7 #BD4BF9 #D386FB #E9C1FD #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D386FB#FFFFFF#000000##000000
##D386FB1.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)
#6DA1FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#CF98B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d386fb;
/* rgb */ color: rgb(211, 134, 251);
/* oklch */ color: oklch(74.4% 0.179 313.1);
Tailwind
colors: {
  custom: {
    50: '#e2abfd',
    500: '#d386fb',
    950: '#000000',
  },
}
SCSS
$custom: #d386fb;
$custom-light: #e2abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d386fb",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 279.487,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74377,
    "c": 0.1788,
    "h": 313.1
  },
  "luminance": 0.37864
}

Semantic roles & 50–950 ramp

primary
#D386FB
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D386FB

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

Preview Lab → · Contrast checker → · Palette generator →

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