#D378CA#D378CA

#D378CA is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.153 H 330.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D378CA
RGBrgb(211, 120, 202)
HSLhsl(306, 51%, 65%)
HSVhsv(306, 43%, 83%)
CMYKcmyk(0%, 43.1%, 4.3%, 17.3%)
CIE-LABlab(62.97, 47.11, -27.47)
CIE-LCHlch(62.97, 54.54, 329.75°)
OKLaboklab(69.99% 0.1333 -0.0746)
OKLCHoklch(69.99% 0.153 330.8)
XYZxyz(44.2406, 31.5485, 59.6248)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378CA #78D381
analogous
#AE78D3 #D378CA #D3789D
triadic
#D378CA #CAD378 #78CAD3
tetradic
#D378CA #D3AE78 #78D381 #789DD3
square
#D378CA #D3AE78 #78D381 #789DD3
split-complementary
#D378CA #9DD378 #78D3AE
monochromatic
#9D3393 #C44AB8 #D378CA #E2A6DC #F1D4EE

Accessibility & contrast

On white

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

On black

7.31
#D378CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378CA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378CA#FFFFFF#000000##000000
##D378CA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#8D9DC7
Tritanopia (blue-blind)
#DA7F98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d378ca;
/* rgb */ color: rgb(211, 120, 202);
/* oklch */ color: oklch(70.0% 0.153 330.8);
Tailwind
colors: {
  custom: {
    50: '#e2a1da',
    500: '#d378ca',
    950: '#000000',
  },
}
SCSS
$custom: #d378ca;
$custom-light: #e2a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d378ca",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 305.934,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69987,
    "c": 0.15277,
    "h": 330.8
  },
  "luminance": 0.31546
}

Semantic roles & 50–950 ramp

primary
#D378CA
secondary
#C4E3C7
accent
#BE3627
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D378CA

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

Preview Lab → · Contrast checker → · Palette generator →

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