#D381EA#D381EA

#D381EA is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.169 H 318.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D381EA
RGBrgb(211, 129, 234)
HSLhsl(287, 71%, 71%)
HSVhsv(287, 45%, 92%)
CMYKcmyk(9.8%, 44.9%, 0%, 8.2%)
CIE-LABlab(66.13, 48.44, -40.41)
CIE-LCHlch(66.13, 63.08, 320.17°)
OKLaboklab(72.79% 0.1266 -0.1116)
OKLCHoklch(72.79% 0.169 318.6)
XYZxyz(49.5635, 35.4916, 82.0657)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381EA #98EA81
analogous
#9E81EA #D381EA #EA81CC
triadic
#D381EA #EAD381 #81EAD3
tetradic
#D381EA #EA9E81 #98EA81 #81CCEA
square
#D381EA #EA9E81 #98EA81 #81CCEA
split-complementary
#D381EA #CCEA81 #81EA9E
monochromatic
#A922CE #C14DE1 #D381EA #E5B5F3 #F6E5FB

Accessibility & contrast

On white

2.59
#D381EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D381EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381EA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381EA#FFFFFF#000000##000000
##D381EA1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#D38FAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d381ea;
/* rgb */ color: rgb(211, 129, 234);
/* oklch */ color: oklch(72.8% 0.169 318.6);
Tailwind
colors: {
  custom: {
    50: '#e2a8f1',
    500: '#d381ea',
    950: '#000000',
  },
}
SCSS
$custom: #d381ea;
$custom-light: #e2a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d381ea",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 286.857,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.16876,
    "h": 318.6
  },
  "luminance": 0.3549
}

Semantic roles & 50–950 ramp

primary
#D381EA
secondary
#DCF1D6
accent
#D3123C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D381EA

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

Preview Lab → · Contrast checker → · Palette generator →

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