#D381DB#D381DB

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

Color values

HEX#D381DB
RGBrgb(211, 129, 219)
HSLhsl(295, 56%, 68%)
HSVhsv(295, 41%, 86%)
CMYKcmyk(3.7%, 41.1%, 0%, 14.1%)
CIE-LABlab(65.49, 45.54, -33.09)
CIE-LCHlch(65.49, 56.30, 324.00°)
OKLaboklab(72.1% 0.1238 -0.0907)
OKLCHoklch(72.1% 0.153 323.8)
XYZxyz(47.4991, 34.6658, 71.1932)
Luminance0.3466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381DB #89DB81
analogous
#A681DB #D381DB #DB81B6
triadic
#D381DB #DBD381 #81DBD3
tetradic
#D381DB #DBA681 #89DB81 #81B6DB
square
#D381DB #DBA681 #89DB81 #81B6DB
split-complementary
#D381DB #B6DB81 #81DBA6
monochromatic
#A432AF #C251CD #D381DB #E4B1E9 #F4E0F6

Accessibility & contrast

On white

2.65
#D381DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D381DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381DB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381DB#FFFFFF#000000##000000
##D381DB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d381db;
/* rgb */ color: rgb(211, 129, 219);
/* oklch */ color: oklch(72.1% 0.153 323.8);
Tailwind
colors: {
  custom: {
    50: '#e2a7e6',
    500: '#d381db',
    950: '#000000',
  },
}
SCSS
$custom: #d381db;
$custom-light: #e2a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d381db",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 294.667,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72099,
    "c": 0.15347,
    "h": 323.8
  },
  "luminance": 0.34664
}

Semantic roles & 50–950 ramp

primary
#D381DB
secondary
#D1EACE
accent
#C32231
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D381DB

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

Preview Lab → · Contrast checker → · Palette generator →

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