#D378EE#D378EE

#D378EE is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.187 H 318.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D378EE
RGBrgb(211, 120, 238)
HSLhsl(286, 78%, 70%)
HSVhsv(286, 50%, 93%)
CMYKcmyk(11.3%, 49.6%, 0%, 6.7%)
CIE-LABlab(64.53, 53.84, -45.13)
CIE-LCHlch(64.53, 70.25, 320.03°)
OKLaboklab(71.66% 0.1395 -0.1252)
OKLCHoklch(71.66% 0.187 318.1)
XYZxyz(49.0109, 33.4566, 84.7484)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378EE #93EE78
analogous
#9878EE #D378EE #EE78CE
triadic
#D378EE #EED378 #78EED3
tetradic
#D378EE #EE9878 #93EE78 #78CEEE
square
#D378EE #EE9878 #93EE78 #78CEEE
split-complementary
#D378EE #CEEE78 #78EE98
monochromatic
#A71AD1 #C142E7 #D378EE #E5AEF5 #F6E4FC

Accessibility & contrast

On white

2.73
#D378EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D378EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378EE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378EE#FFFFFF#000000##000000
##D378EE1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#D389A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d378ee;
/* rgb */ color: rgb(211, 120, 238);
/* oklch */ color: oklch(71.7% 0.187 318.1);
Tailwind
colors: {
  custom: {
    50: '#e3a2f4',
    500: '#d378ee',
    950: '#000000',
  },
}
SCSS
$custom: #d378ee;
$custom-light: #e3a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d378ee",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 286.271,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.18743,
    "h": 318.1
  },
  "luminance": 0.33455
}

Semantic roles & 50–950 ramp

primary
#D378EE
secondary
#D8F1D1
accent
#DA0C3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D378EE

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

Preview Lab → · Contrast checker → · Palette generator →

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