#D378EC#D378EC

#D378EC is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.6% C 0.185 H 318.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D378EC
RGBrgb(211, 120, 236)
HSLhsl(287, 75%, 70%)
HSVhsv(287, 49%, 93%)
CMYKcmyk(10.6%, 49.2%, 0%, 7.5%)
CIE-LABlab(64.44, 53.45, -44.17)
CIE-LCHlch(64.44, 69.34, 320.43°)
OKLaboklab(71.56% 0.1392 -0.1224)
OKLCHoklch(71.56% 0.185 318.7)
XYZxyz(48.7187, 33.3397, 83.2095)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378EC #91EC78
analogous
#9978EC #D378EC #EC78CB
triadic
#D378EC #ECD378 #78ECD3
tetradic
#D378EC #EC9978 #91EC78 #78CBEC
square
#D378EC #EC9978 #91EC78 #78CBEC
split-complementary
#D378EC #CBEC78 #78EC99
monochromatic
#A71DCD #C242E4 #D378EC #E4AEF4 #F6E3FB

Accessibility & contrast

On white

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

On black

7.67
#D378EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378EC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378EC#FFFFFF#000000##000000
##D378EC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#D388A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d378ec;
/* rgb */ color: rgb(211, 120, 236);
/* oklch */ color: oklch(71.6% 0.185 318.7);
Tailwind
colors: {
  custom: {
    50: '#e3a2f2',
    500: '#d378ec',
    950: '#000000',
  },
}
SCSS
$custom: #d378ec;
$custom-light: #e3a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d378ec",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 287.069,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71559,
    "c": 0.1854,
    "h": 318.7
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#D378EC
secondary
#D7F0D0
accent
#D70E39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D378EC

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

Preview Lab → · Contrast checker → · Palette generator →

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