#D381CD#D381CD

#D381CD is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.5% C 0.140 H 329.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D381CD
RGBrgb(211, 129, 205)
HSLhsl(304, 48%, 67%)
HSVhsv(304, 39%, 83%)
CMYKcmyk(0%, 38.9%, 2.8%, 17.3%)
CIE-LABlab(64.93, 42.97, -26.14)
CIE-LCHlch(64.93, 50.29, 328.68°)
OKLaboklab(71.5% 0.1207 -0.0709)
OKLCHoklch(71.5% 0.14 329.6)
XYZxyz(45.7330, 33.9593, 61.8916)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381CD #81D387
analogous
#B081D3 #D381CD #D381A4
triadic
#D381CD #CDD381 #81CDD3
tetradic
#D381CD #D3B081 #81D387 #81A4D3
square
#D381CD #D3B081 #81D387 #81A4D3
split-complementary
#D381CD #A4D381 #81D3B0
monochromatic
#A1389A #C354BB #D381CD #E3AEDF #F3DCF1

Accessibility & contrast

On white

2.70
#D381CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D381CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381CD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381CD#FFFFFF#000000##000000
##D381CD1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D0
Deuteranopia (green-blind)
#92A2CA
Tritanopia (blue-blind)
#D9879E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d381cd;
/* rgb */ color: rgb(211, 129, 205);
/* oklch */ color: oklch(71.5% 0.140 329.6);
Tailwind
colors: {
  custom: {
    50: '#e2a7dc',
    500: '#d381cd',
    950: '#000000',
  },
}
SCSS
$custom: #d381cd;
$custom-light: #e2a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d381cd",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 304.39,
    "s": 48.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71497,
    "c": 0.14,
    "h": 329.6
  },
  "luminance": 0.33957
}

Semantic roles & 50–950 ramp

primary
#D381CD
secondary
#CBE5CD
accent
#BC352A
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#151015
muted
#847F83

Preview Lab

Preview with #D381CD

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

Preview Lab → · Contrast checker → · Palette generator →

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