#D378CB#D378CB

#D378CB is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.0% C 0.154 H 330.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#D378CB
RGBrgb(211, 120, 203)
HSLhsl(305, 51%, 65%)
HSVhsv(305, 43%, 83%)
CMYKcmyk(0%, 43.1%, 3.8%, 17.3%)
CIE-LABlab(63.01, 47.29, -27.98)
CIE-LCHlch(63.01, 54.95, 329.39°)
OKLaboklab(70.03% 0.1335 -0.0761)
OKLCHoklch(70.03% 0.154 330.3)
XYZxyz(44.3594, 31.5960, 60.2504)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378CB #78D380
analogous
#AE78D3 #D378CB #D3789D
triadic
#D378CB #CBD378 #78CBD3
tetradic
#D378CB #D3AE78 #78D380 #789DD3
square
#D378CB #D3AE78 #78D380 #789DD3
split-complementary
#D378CB #9DD378 #78D3AE
monochromatic
#9D3394 #C44AB9 #D378CB #E2A6DD #F1D4EF

Accessibility & contrast

On white

2.87
#D378CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#D378CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378CB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378CB#FFFFFF#000000##000000
##D378CB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CE
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#D97F98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d378cb;
/* rgb */ color: rgb(211, 120, 203);
/* oklch */ color: oklch(70.0% 0.154 330.3);
Tailwind
colors: {
  custom: {
    50: '#e2a1db',
    500: '#d378cb',
    950: '#000000',
  },
}
SCSS
$custom: #d378cb;
$custom-light: #e2a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d378cb",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 305.275,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70029,
    "c": 0.15366,
    "h": 330.3
  },
  "luminance": 0.31594
}

Semantic roles & 50–950 ramp

primary
#D378CB
secondary
#C4E3C7
accent
#BE3527
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D378CB

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

Preview Lab → · Contrast checker → · Palette generator →

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