#D386F8#D386F8

#D386F8 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.2% C 0.176 H 313.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D386F8
RGBrgb(211, 134, 248)
HSLhsl(281, 89%, 75%)
HSVhsv(281, 46%, 97%)
CMYKcmyk(14.9%, 46%, 0%, 2.7%)
CIE-LABlab(67.78, 48.67, -45.51)
CIE-LCHlch(67.78, 66.64, 316.92°)
OKLaboklab(74.23% 0.1218 -0.1264)
OKLCHoklch(74.23% 0.176 313.9)
XYZxyz(52.3296, 37.6777, 93.3046)
Luminance0.3768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386F8 #ABF886
analogous
#9A86F8 #D386F8 #F886E4
triadic
#D386F8 #F8D386 #86F8D3
tetradic
#D386F8 #F89A86 #ABF886 #86E4F8
square
#D386F8 #F89A86 #ABF886 #86E4F8
split-complementary
#D386F8 #E4F886 #86F89A
monochromatic
#A912F1 #BE4CF5 #D386F8 #E8C0FB #F4E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D386F8#FFFFFF#000000##000000
##D386F81.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)
#6FA1FC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#D097B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d386f8;
/* rgb */ color: rgb(211, 134, 248);
/* oklch */ color: oklch(74.2% 0.176 313.9);
Tailwind
colors: {
  custom: {
    50: '#e2abfb',
    500: '#d386f8',
    950: '#000000',
  },
}
SCSS
$custom: #d386f8;
$custom-light: #e2abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d386f8",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 280.526,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.17553,
    "h": 313.9
  },
  "luminance": 0.37676
}

Semantic roles & 50–950 ramp

primary
#D386F8
secondary
#E0F5D6
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D386F8

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

Preview Lab → · Contrast checker → · Palette generator →

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