#D381DE#D381DE

#D381DE is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.2% C 0.156 H 322.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D381DE
RGBrgb(211, 129, 222)
HSLhsl(293, 58%, 69%)
HSVhsv(293, 42%, 87%)
CMYKcmyk(5%, 41.9%, 0%, 12.9%)
CIE-LABlab(65.61, 46.11, -34.57)
CIE-LCHlch(65.61, 57.63, 323.14°)
OKLaboklab(72.23% 0.1244 -0.0949)
OKLCHoklch(72.23% 0.156 322.7)
XYZxyz(47.8976, 34.8252, 73.2920)
Luminance0.3482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381DE #8CDE81
analogous
#A581DE #D381DE #DE81BB
triadic
#D381DE #DED381 #81DED3
tetradic
#D381DE #DEA581 #8CDE81 #81BBDE
square
#D381DE #DEA581 #8CDE81 #81BBDE
split-complementary
#D381DE #BBDE81 #81DEA5
monochromatic
#A52FB5 #C251D1 #D381DE #E4B1EB #F5E2F7

Accessibility & contrast

On white

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

On black

7.96
#D381DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381DE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381DE#FFFFFF#000000##000000
##D381DE1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E1
Deuteranopia (green-blind)
#8CA3DB
Tritanopia (blue-blind)
#D68CA5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d381de;
/* rgb */ color: rgb(211, 129, 222);
/* oklch */ color: oklch(72.2% 0.156 322.7);
Tailwind
colors: {
  custom: {
    50: '#e2a7e8',
    500: '#d381de',
    950: '#000000',
  },
}
SCSS
$custom: #d381de;
$custom-light: #e2a7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d381de",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 292.903,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.15647,
    "h": 322.7
  },
  "luminance": 0.34823
}

Semantic roles & 50–950 ramp

primary
#D381DE
secondary
#D3EBD0
accent
#C61F33
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D381DE

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

Preview Lab → · Contrast checker → · Palette generator →

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