#D378EB#D378EB

#D378EB is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.5% C 0.184 H 319.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D378EB
RGBrgb(211, 120, 235)
HSLhsl(287, 74%, 70%)
HSVhsv(287, 49%, 92%)
CMYKcmyk(10.2%, 48.9%, 0%, 7.8%)
CIE-LABlab(64.39, 53.25, -43.69)
CIE-LCHlch(64.39, 68.88, 320.63°)
OKLaboklab(71.51% 0.1391 -0.121)
OKLCHoklch(71.51% 0.184 319)
XYZxyz(48.5739, 33.2818, 82.4465)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378EB #90EB78
analogous
#9978EB #D378EB #EB78CA
triadic
#D378EB #EBD378 #78EBD3
tetradic
#D378EB #EB9978 #90EB78 #78CAEB
square
#D378EB #EB9978 #90EB78 #78CAEB
split-complementary
#D378EB #CAEB78 #78EB99
monochromatic
#A71ECB #C243E3 #D378EB #E4ADF3 #F6E3FB

Accessibility & contrast

On white

2.74
#D378EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D378EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378EB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378EB#FFFFFF#000000##000000
##D378EB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#D488A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d378eb;
/* rgb */ color: rgb(211, 120, 235);
/* oklch */ color: oklch(71.5% 0.184 319.0);
Tailwind
colors: {
  custom: {
    50: '#e3a2f2',
    500: '#d378eb',
    950: '#000000',
  },
}
SCSS
$custom: #d378eb;
$custom-light: #e3a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d378eb",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 287.478,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71509,
    "c": 0.1844,
    "h": 319
  },
  "luminance": 0.3328
}

Semantic roles & 50–950 ramp

primary
#D378EB
secondary
#D6F0CF
accent
#D60F39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D378EB

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

Preview Lab → · Contrast checker → · Palette generator →

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