#D78BEE#D78BEE

#D78BEE is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.0% C 0.158 H 318.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#D78BEE
RGBrgb(215, 139, 238)
HSLhsl(286, 74%, 74%)
HSVhsv(286, 42%, 93%)
CMYKcmyk(9.7%, 41.6%, 0%, 6.7%)
CIE-LABlab(68.81, 45.15, -38.39)
CIE-LCHlch(68.81, 59.27, 319.63°)
OKLaboklab(74.95% 0.1178 -0.1058)
OKLCHoklch(74.95% 0.158 318.1)
XYZxyz(52.6874, 39.0869, 85.6415)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78BEE #A2EE8B
analogous
#A68BEE #D78BEE #EE8BD4
triadic
#D78BEE #EED78B #8BEED7
tetradic
#D78BEE #EEA68B #A2EE8B #8BD4EE
square
#D78BEE #EEA68B #A2EE8B #8BD4EE
split-complementary
#D78BEE #D4EE8B #8BEEA6
monochromatic
#B221DE #C556E6 #D78BEE #E9C0F6 #F6E4FB

Accessibility & contrast

On white

2.38
#D78BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#D78BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78BEE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78BEE#FFFFFF#000000##000000
##D78BEE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#90AAEB
Tritanopia (blue-blind)
#D798B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d78bee;
/* rgb */ color: rgb(215, 139, 238);
/* oklch */ color: oklch(75.0% 0.158 318.1);
Tailwind
colors: {
  custom: {
    50: '#e5aef4',
    500: '#d78bee',
    950: '#000000',
  },
}
SCSS
$custom: #d78bee;
$custom-light: #e5aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#d78bee",
  "rgb": {
    "r": 215,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 286.061,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.15836,
    "h": 318.1
  },
  "luminance": 0.39085
}

Semantic roles & 50–950 ramp

primary
#D78BEE
secondary
#DEF3D8
accent
#D70F3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D78BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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