#D378EA#D378EA

#D378EA is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.5% C 0.183 H 319.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D378EA
RGBrgb(211, 120, 234)
HSLhsl(288, 73%, 69%)
HSVhsv(288, 49%, 92%)
CMYKcmyk(9.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(64.34, 53.06, -43.21)
CIE-LCHlch(64.34, 68.43, 320.84°)
OKLaboklab(71.46% 0.139 -0.1197)
OKLCHoklch(71.46% 0.183 319.3)
XYZxyz(48.4298, 33.2241, 81.6878)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378EA #8FEA78
analogous
#9A78EA #D378EA #EA78C8
triadic
#D378EA #EAD378 #78EAD3
tetradic
#D378EA #EA9A78 #8FEA78 #78C8EA
square
#D378EA #EA9A78 #8FEA78 #78C8EA
split-complementary
#D378EA #C8EA78 #78EA9A
monochromatic
#A61FC8 #C243E2 #D378EA #E4ADF2 #F6E2FA

Accessibility & contrast

On white

2.75
#D378EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D378EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378EA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378EA#FFFFFF#000000##000000
##D378EA1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#D488A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d378ea;
/* rgb */ color: rgb(211, 120, 234);
/* oklch */ color: oklch(71.5% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#e3a2f1',
    500: '#d378ea',
    950: '#000000',
  },
}
SCSS
$custom: #d378ea;
$custom-light: #e3a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d378ea",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 287.895,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7146,
    "c": 0.18339,
    "h": 319.3
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#D378EA
secondary
#D5EFCE
accent
#D51038
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D378EA

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

Preview Lab → · Contrast checker → · Palette generator →

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