#D78BEC#D78BEC

#D78BEC is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.9% C 0.156 H 318.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D78BEC
RGBrgb(215, 139, 236)
HSLhsl(287, 72%, 74%)
HSVhsv(287, 41%, 93%)
CMYKcmyk(8.9%, 41.1%, 0%, 7.5%)
CIE-LABlab(68.73, 44.76, -37.42)
CIE-LCHlch(68.73, 58.34, 320.10°)
OKLaboklab(74.86% 0.1174 -0.103)
OKLCHoklch(74.86% 0.156 318.7)
XYZxyz(52.3952, 38.9701, 84.1026)
Luminance0.3897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78BEC #A0EC8B
analogous
#A68BEC #D78BEC #EC8BD0
triadic
#D78BEC #ECD78B #8BECD7
tetradic
#D78BEC #ECA68B #A0EC8B #8BD0EC
square
#D78BEC #ECA68B #A0EC8B #8BD0EC
split-complementary
#D78BEC #D0EC8B #8BECA6
monochromatic
#B224D9 #C556E3 #D78BEC #E9C0F5 #F6E5FB

Accessibility & contrast

On white

2.39
#D78BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#D78BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78BEC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78BEC#FFFFFF#000000##000000
##D78BEC1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F0
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#D897B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d78bec;
/* rgb */ color: rgb(215, 139, 236);
/* oklch */ color: oklch(74.9% 0.156 318.7);
Tailwind
colors: {
  custom: {
    50: '#e5aef2',
    500: '#d78bec',
    950: '#000000',
  },
}
SCSS
$custom: #d78bec;
$custom-light: #e5aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d78bec",
  "rgb": {
    "r": 215,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 287.01,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74861,
    "c": 0.15624,
    "h": 318.7
  },
  "luminance": 0.38968
}

Semantic roles & 50–950 ramp

primary
#D78BEC
secondary
#DEF2D9
accent
#D4123C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D78BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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