#D378DC#D378DC

#D378DC is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.170 H 323.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D378DC
RGBrgb(211, 120, 220)
HSLhsl(295, 59%, 67%)
HSVhsv(295, 45%, 86%)
CMYKcmyk(4.1%, 45.5%, 0%, 13.7%)
CIE-LABlab(63.71, 50.38, -36.41)
CIE-LCHlch(63.71, 62.16, 324.14°)
OKLaboklab(70.79% 0.1368 -0.1001)
OKLCHoklch(70.79% 0.17 323.8)
XYZxyz(46.4975, 32.4512, 71.5107)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378DC #81DC78
analogous
#A178DC #D378DC #DC78B3
triadic
#D378DC #DCD378 #78DCD3
tetradic
#D378DC #DCA178 #81DC78 #78B3DC
square
#D378DC #DCA178 #81DC78 #78B3DC
split-complementary
#D378DC #B3DC78 #78DCA1
monochromatic
#A12DAD #C347CF #D378DC #E3A9E9 #F3D9F5

Accessibility & contrast

On white

2.80
#D378DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D378DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378DC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378DC#FFFFFF#000000##000000
##D378DC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#D684A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d378dc;
/* rgb */ color: rgb(211, 120, 220);
/* oklch */ color: oklch(70.8% 0.170 323.8);
Tailwind
colors: {
  custom: {
    50: '#e2a1e7',
    500: '#d378dc',
    950: '#000000',
  },
}
SCSS
$custom: #d378dc;
$custom-light: #e2a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d378dc",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 294.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.16954,
    "h": 323.8
  },
  "luminance": 0.32449
}

Semantic roles & 50–950 ramp

primary
#D378DC
secondary
#CBE8C8
accent
#C61F2E
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D378DC

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

Preview Lab → · Contrast checker → · Palette generator →

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