#D78EEC#D78EEC

#D78EEC is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.3% C 0.151 H 318.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D78EEC
RGBrgb(215, 142, 236)
HSLhsl(287, 71%, 74%)
HSVhsv(287, 40%, 93%)
CMYKcmyk(8.9%, 39.8%, 0%, 7.5%)
CIE-LABlab(69.36, 43.17, -36.43)
CIE-LCHlch(69.36, 56.49, 319.84°)
OKLaboklab(75.34% 0.1132 -0.1002)
OKLCHoklch(75.34% 0.151 318.5)
XYZxyz(52.8356, 39.8508, 84.2494)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EEC #A3EC8E
analogous
#A88EEC #D78EEC #EC8ED2
triadic
#D78EEC #ECD78E #8EECD7
tetradic
#D78EEC #ECA88E #A3EC8E #8ED2EC
square
#D78EEC #ECA88E #A3EC8E #8ED2EC
split-complementary
#D78EEC #D2EC8E #8EECA8
monochromatic
#B225DA #C45AE3 #D78EEC #EAC2F5 #F6E5FB

Accessibility & contrast

On white

2.34
#D78EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D78EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EEC
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EEC#FFFFFF#000000##000000
##D78EEC1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#D79AB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78eec;
/* rgb */ color: rgb(215, 142, 236);
/* oklch */ color: oklch(75.3% 0.151 318.5);
Tailwind
colors: {
  custom: {
    50: '#e5b0f2',
    500: '#d78eec',
    950: '#000000',
  },
}
SCSS
$custom: #d78eec;
$custom-light: #e5b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d78eec",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 286.596,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75337,
    "c": 0.15117,
    "h": 318.5
  },
  "luminance": 0.39849
}

Semantic roles & 50–950 ramp

primary
#D78EEC
secondary
#DEF2D9
accent
#D3123D
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #D78EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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