#D78EEA#D78EEA

#D78EEA is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.2% C 0.149 H 319.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#D78EEA
RGBrgb(215, 142, 234)
HSLhsl(288, 69%, 74%)
HSVhsv(288, 39%, 92%)
CMYKcmyk(8.1%, 39.3%, 0%, 8.2%)
CIE-LABlab(69.28, 42.78, -35.46)
CIE-LCHlch(69.28, 55.57, 320.34°)
OKLaboklab(75.25% 0.1128 -0.0975)
OKLCHoklch(75.25% 0.149 319.2)
XYZxyz(52.5467, 39.7352, 82.7276)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EEA #A1EA8E
analogous
#A98EEA #D78EEA #EA8ECF
triadic
#D78EEA #EAD78E #8EEAD7
tetradic
#D78EEA #EAA98E #A1EA8E #8ECFEA
square
#D78EEA #EAA98E #A1EA8E #8ECFEA
split-complementary
#D78EEA #CFEA8E #8EEAA9
monochromatic
#B228D6 #C55AE0 #D78EEA #E9C2F4 #F6E5FA

Accessibility & contrast

On white

2.35
#D78EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#D78EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EEA
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EEA#FFFFFF#000000##000000
##D78EEA1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#94ACE7
Tritanopia (blue-blind)
#D899B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78eea;
/* rgb */ color: rgb(215, 142, 234);
/* oklch */ color: oklch(75.2% 0.149 319.2);
Tailwind
colors: {
  custom: {
    50: '#e5b0f1',
    500: '#d78eea',
    950: '#000000',
  },
}
SCSS
$custom: #d78eea;
$custom-light: #e5b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d78eea",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 287.609,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75247,
    "c": 0.14904,
    "h": 319.2
  },
  "luminance": 0.39734
}

Semantic roles & 50–950 ramp

primary
#D78EEA
secondary
#DEF2D9
accent
#D1153C
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161116
muted
#848084

Preview Lab

Preview with #D78EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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