#D387FA#D387FA

#D387FA is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.5% C 0.176 H 313.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#D387FA
RGBrgb(211, 135, 250)
HSLhsl(280, 92%, 75%)
HSVhsv(280, 46%, 98%)
CMYKcmyk(15.6%, 46%, 0%, 2%)
CIE-LABlab(68.08, 48.56, -46.14)
CIE-LCHlch(68.08, 66.99, 316.46°)
OKLaboklab(74.48% 0.1207 -0.1282)
OKLCHoklch(74.48% 0.176 313.3)
XYZxyz(52.7804, 38.0802, 94.9938)
Luminance0.3808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387FA #AEFA87
analogous
#9987FA #D387FA #FA87E8
triadic
#D387FA #FAD387 #87FAD3
tetradic
#D387FA #FA9987 #AEFA87 #87E8FA
square
#D387FA #FA9987 #AEFA87 #87E8FA
split-complementary
#D387FA #E8FA87 #87FA99
monochromatic
#A811F5 #BD4CF8 #D387FA #E9C2FC #F4E2FE

Accessibility & contrast

On white

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

On black

8.62
#D387FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387FA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387FA#FFFFFF#000000##000000
##D387FA1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#D098B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d387fa;
/* rgb */ color: rgb(211, 135, 250);
/* oklch */ color: oklch(74.5% 0.176 313.3);
Tailwind
colors: {
  custom: {
    50: '#e2acfc',
    500: '#d387fa',
    950: '#000000',
  },
}
SCSS
$custom: #d387fa;
$custom-light: #e2acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d387fa",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 279.652,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7448,
    "c": 0.17611,
    "h": 313.3
  },
  "luminance": 0.38079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387FA

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

Preview Lab → · Contrast checker → · Palette generator →

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