#D381DC#D381DC

#D381DC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.1% C 0.154 H 323.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D381DC
RGBrgb(211, 129, 220)
HSLhsl(294, 57%, 68%)
HSVhsv(294, 41%, 86%)
CMYKcmyk(4.1%, 41.4%, 0%, 13.7%)
CIE-LABlab(65.53, 45.73, -33.59)
CIE-LCHlch(65.53, 56.74, 323.71°)
OKLaboklab(72.14% 0.124 -0.0921)
OKLCHoklch(72.14% 0.154 323.4)
XYZxyz(47.6312, 34.7186, 71.8886)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381DC #8ADC81
analogous
#A581DC #D381DC #DC81B7
triadic
#D381DC #DCD381 #81DCD3
tetradic
#D381DC #DCA581 #8ADC81 #81B7DC
square
#D381DC #DCA581 #8ADC81 #81B7DC
split-complementary
#D381DC #B7DC81 #81DCA5
monochromatic
#A531B1 #C251CF #D381DC #E4B1E9 #F4E1F7

Accessibility & contrast

On white

2.64
#D381DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D381DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381DC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381DC#FFFFFF#000000##000000
##D381DC1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#8DA3D9
Tritanopia (blue-blind)
#D68BA4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d381dc;
/* rgb */ color: rgb(211, 129, 220);
/* oklch */ color: oklch(72.1% 0.154 323.4);
Tailwind
colors: {
  custom: {
    50: '#e2a7e7',
    500: '#d381dc',
    950: '#000000',
  },
}
SCSS
$custom: #d381dc;
$custom-light: #e2a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d381dc",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 294.066,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72143,
    "c": 0.15447,
    "h": 323.4
  },
  "luminance": 0.34717
}

Semantic roles & 50–950 ramp

primary
#D381DC
secondary
#D1EACF
accent
#C42132
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D381DC

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

Preview Lab → · Contrast checker → · Palette generator →

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