#D78CDC#D78CDC

#D78CDC is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.3% C 0.138 H 324.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#D78CDC
RGBrgb(215, 140, 220)
HSLhsl(296, 53%, 71%)
HSVhsv(296, 36%, 86%)
CMYKcmyk(2.3%, 36.4%, 0%, 13.7%)
CIE-LABlab(68.29, 41.15, -29.27)
CIE-LCHlch(68.29, 50.50, 324.57°)
OKLaboklab(74.32% 0.1126 -0.0798)
OKLCHoklch(74.32% 0.138 324.7)
XYZxyz(50.3194, 38.3725, 72.4523)
Luminance0.3837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CDC #91DC8C
analogous
#AF8CDC #D78CDC #DC8CB9
triadic
#D78CDC #DCD78C #8CDCD7
tetradic
#D78CDC #DCAF8C #91DC8C #8CB9DC
square
#D78CDC #DCAF8C #91DC8C #8CB9DC
split-complementary
#D78CDC #B9DC8C #8CDCAF
monochromatic
#AE37B6 #C75DCE #D78CDC #E7BBEA #F7E8F8

Accessibility & contrast

On white

2.42
#D78CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#D78CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CDC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CDC#FFFFFF#000000##000000
##D78CDC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DF
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#DB94AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d78cdc;
/* rgb */ color: rgb(215, 140, 220);
/* oklch */ color: oklch(74.3% 0.138 324.7);
Tailwind
colors: {
  custom: {
    50: '#e4afe7',
    500: '#d78cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d78cdc;
$custom-light: #e4afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cdc",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 296.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.138,
    "h": 324.7
  },
  "luminance": 0.38371
}

Semantic roles & 50–950 ramp

primary
#D78CDC
secondary
#D8EDD7
accent
#C1252E
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D78CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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