#D381ED#D381ED

#D381ED is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.9% C 0.172 H 317.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#D381ED
RGBrgb(211, 129, 237)
HSLhsl(286, 75%, 72%)
HSVhsv(286, 46%, 93%)
CMYKcmyk(11%, 45.6%, 0%, 7.1%)
CIE-LABlab(66.26, 49.04, -41.85)
CIE-LCHlch(66.26, 64.47, 319.52°)
OKLaboklab(72.93% 0.127 -0.1158)
OKLCHoklch(72.93% 0.172 317.7)
XYZxyz(49.9981, 35.6654, 84.3547)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381ED #9BED81
analogous
#9D81ED #D381ED #ED81D1
triadic
#D381ED #EDD381 #81EDD3
tetradic
#D381ED #ED9D81 #9BED81 #81D1ED
square
#D381ED #ED9D81 #9BED81 #81D1ED
split-complementary
#D381ED #D1ED81 #81ED9D
monochromatic
#A91ED5 #C04BE5 #D381ED #E6B7F5 #F6E4FB

Accessibility & contrast

On white

2.58
#D381ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#D381ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381ED
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381ED#FFFFFF#000000##000000
##D381ED1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#D390AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d381ed;
/* rgb */ color: rgb(211, 129, 237);
/* oklch */ color: oklch(72.9% 0.172 317.7);
Tailwind
colors: {
  custom: {
    50: '#e2a8f3',
    500: '#d381ed',
    950: '#000000',
  },
}
SCSS
$custom: #d381ed;
$custom-light: #e2a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d381ed",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 285.556,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72933,
    "c": 0.1719,
    "h": 317.7
  },
  "luminance": 0.35664
}

Semantic roles & 50–950 ramp

primary
#D381ED
secondary
#DEF3D7
accent
#D70E3F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D381ED

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

Preview Lab → · Contrast checker → · Palette generator →

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