#D381DF#D381DF

#D381DF is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.3% C 0.157 H 322.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D381DF
RGBrgb(211, 129, 223)
HSLhsl(292, 59%, 69%)
HSVhsv(292, 42%, 87%)
CMYKcmyk(5.4%, 42.2%, 0%, 12.5%)
CIE-LABlab(65.65, 46.30, -35.06)
CIE-LCHlch(65.65, 58.08, 322.87°)
OKLaboklab(72.28% 0.1246 -0.0963)
OKLCHoklch(72.28% 0.157 322.3)
XYZxyz(48.0320, 34.8790, 73.9999)
Luminance0.3488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381DF #8DDF81
analogous
#A481DF #D381DF #DF81BC
triadic
#D381DF #DFD381 #81DFD3
tetradic
#D381DF #DFA481 #8DDF81 #81BCDF
square
#D381DF #DFA481 #8DDF81 #81BCDF
split-complementary
#D381DF #BCDF81 #81DFA4
monochromatic
#A62FB7 #C250D3 #D381DF #E4B2EB #F5E3F8

Accessibility & contrast

On white

2.63
#D381DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D381DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381DF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381DF#FFFFFF#000000##000000
##D381DF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#8BA3DC
Tritanopia (blue-blind)
#D68CA6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d381df;
/* rgb */ color: rgb(211, 129, 223);
/* oklch */ color: oklch(72.3% 0.157 322.3);
Tailwind
colors: {
  custom: {
    50: '#e2a7e9',
    500: '#d381df',
    950: '#000000',
  },
}
SCSS
$custom: #d381df;
$custom-light: #e2a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d381df",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 292.34,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.15747,
    "h": 322.3
  },
  "luminance": 0.34877
}

Semantic roles & 50–950 ramp

primary
#D381DF
secondary
#D4ECD0
accent
#C71E34
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D381DF

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

Preview Lab → · Contrast checker → · Palette generator →

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