#D78DEB#D78DEB

#D78DEB is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.1% C 0.152 H 318.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D78DEB
RGBrgb(215, 141, 235)
HSLhsl(287, 70%, 74%)
HSVhsv(287, 40%, 92%)
CMYKcmyk(8.5%, 40%, 0%, 7.8%)
CIE-LABlab(69.11, 43.51, -36.28)
CIE-LCHlch(69.11, 56.65, 320.18°)
OKLaboklab(75.13% 0.1144 -0.0998)
OKLCHoklch(75.13% 0.152 318.9)
XYZxyz(52.5426, 39.4966, 83.4370)
Luminance0.3950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78DEB #A1EB8D
analogous
#A88DEB #D78DEB #EB8DD0
triadic
#D78DEB #EBD78D #8DEBD7
tetradic
#D78DEB #EBA88D #A1EB8D #8DD0EB
square
#D78DEB #EBA88D #A1EB8D #8DD0EB
split-complementary
#D78DEB #D0EB8D #8DEBA8
monochromatic
#B226D8 #C559E2 #D78DEB #E9C1F4 #F6E5FA

Accessibility & contrast

On white

2.36
#D78DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D78DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78DEB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78DEB#FFFFFF#000000##000000
##D78DEB1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EE
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#D899B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78deb;
/* rgb */ color: rgb(215, 141, 235);
/* oklch */ color: oklch(75.1% 0.152 318.9);
Tailwind
colors: {
  custom: {
    50: '#e5b0f1',
    500: '#d78deb',
    950: '#000000',
  },
}
SCSS
$custom: #d78deb;
$custom-light: #e5b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d78deb",
  "rgb": {
    "r": 215,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 287.234,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75132,
    "c": 0.1518,
    "h": 318.9
  },
  "luminance": 0.39495
}

Semantic roles & 50–950 ramp

primary
#D78DEB
secondary
#DEF2D9
accent
#D2133C
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #D78DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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