#D381CB#D381CB

#D381CB is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.4% C 0.138 H 330.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D381CB
RGBrgb(211, 129, 203)
HSLhsl(306, 48%, 67%)
HSVhsv(306, 39%, 83%)
CMYKcmyk(0%, 38.9%, 3.8%, 17.3%)
CIE-LABlab(64.85, 42.61, -25.14)
CIE-LCHlch(64.85, 49.47, 329.46°)
OKLaboklab(71.41% 0.1202 -0.0681)
OKLCHoklch(71.41% 0.138 330.5)
XYZxyz(45.4931, 33.8634, 60.6283)
Luminance0.3386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381CB #81D389
analogous
#B281D3 #D381CB #D381A2
triadic
#D381CB #CBD381 #81CBD3
tetradic
#D381CB #D3B281 #81D389 #81A2D3
square
#D381CB #D3B281 #81D389 #81A2D3
split-complementary
#D381CB #A2D381 #81D3B2
monochromatic
#A13897 #C354B8 #D381CB #E3AEDE #F3DCF0

Accessibility & contrast

On white

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

On black

7.77
#D381CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381CB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381CB#FFFFFF#000000##000000
##D381CB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CE
Deuteranopia (green-blind)
#93A1C8
Tritanopia (blue-blind)
#D9879D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d381cb;
/* rgb */ color: rgb(211, 129, 203);
/* oklch */ color: oklch(71.4% 0.138 330.5);
Tailwind
colors: {
  custom: {
    50: '#e2a7db',
    500: '#d381cb',
    950: '#000000',
  },
}
SCSS
$custom: #d381cb;
$custom-light: #e2a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d381cb",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 305.854,
    "s": 48.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71415,
    "c": 0.13818,
    "h": 330.5
  },
  "luminance": 0.33861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D381CB

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

Preview Lab → · Contrast checker → · Palette generator →

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