#D386FA#D386FA

#D386FA is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.3% C 0.178 H 313.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#D386FA
RGBrgb(211, 134, 250)
HSLhsl(280, 92%, 75%)
HSVhsv(280, 46%, 98%)
CMYKcmyk(15.6%, 46.4%, 0%, 2%)
CIE-LABlab(67.87, 49.08, -46.46)
CIE-LCHlch(67.87, 67.59, 316.57°)
OKLaboklab(74.33% 0.1221 -0.1291)
OKLCHoklch(74.33% 0.178 313.4)
XYZxyz(52.6415, 37.8024, 94.9475)
Luminance0.3780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386FA #ADFA86
analogous
#9986FA #D386FA #FA86E7
triadic
#D386FA #FAD386 #86FAD3
tetradic
#D386FA #FA9986 #ADFA86 #86E7FA
square
#D386FA #FA9986 #ADFA86 #86E7FA
split-complementary
#D386FA #E7FA86 #86FA99
monochromatic
#A810F5 #BE4BF8 #D386FA #E8C1FC #F4E2FE

Accessibility & contrast

On white

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

On black

8.56
#D386FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D386FA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D386FA#FFFFFF#000000##000000
##D386FA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#D098B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d386fa;
/* rgb */ color: rgb(211, 134, 250);
/* oklch */ color: oklch(74.3% 0.178 313.4);
Tailwind
colors: {
  custom: {
    50: '#e2abfc',
    500: '#d386fa',
    950: '#000000',
  },
}
SCSS
$custom: #d386fa;
$custom-light: #e2abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d386fa",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 279.828,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74327,
    "c": 0.17772,
    "h": 313.4
  },
  "luminance": 0.37801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D386FA

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

Preview Lab → · Contrast checker → · Palette generator →

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