#D78CDA#D78CDA

#D78CDA is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.2% C 0.136 H 325.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D78CDA
RGBrgb(215, 140, 218)
HSLhsl(298, 51%, 70%)
HSVhsv(298, 36%, 85%)
CMYKcmyk(1.4%, 35.8%, 0%, 14.5%)
CIE-LABlab(68.22, 40.77, -28.28)
CIE-LCHlch(68.22, 49.62, 325.25°)
OKLaboklab(74.24% 0.1121 -0.077)
OKLCHoklch(74.24% 0.136 325.5)
XYZxyz(50.0561, 38.2671, 71.0656)
Luminance0.3826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CDA #8FDA8C
analogous
#B08CDA #D78CDA #DA8CB6
triadic
#D78CDA #DAD78C #8CDAD7
tetradic
#D78CDA #DAB08C #8FDA8C #8CB6DA
square
#D78CDA #DAB08C #8FDA8C #8CB6DA
split-complementary
#D78CDA #B6DA8C #8CDAB0
monochromatic
#AE39B2 #C75ECB #D78CDA #E7BAE9 #F7E8F8

Accessibility & contrast

On white

2.43
#D78CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D78CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CDA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CDA#FFFFFF#000000##000000
##D78CDA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#98AAD7
Tritanopia (blue-blind)
#DB94A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d78cda;
/* rgb */ color: rgb(215, 140, 218);
/* oklch */ color: oklch(74.2% 0.136 325.5);
Tailwind
colors: {
  custom: {
    50: '#e4afe5',
    500: '#d78cda',
    950: '#000000',
  },
}
SCSS
$custom: #d78cda;
$custom-light: #e4afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cda",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 218
  },
  "hsl": {
    "h": 297.692,
    "s": 51.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74237,
    "c": 0.13601,
    "h": 325.5
  },
  "luminance": 0.38265
}

Semantic roles & 50–950 ramp

primary
#D78CDA
secondary
#D7ECD6
accent
#BF272D
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161015
muted
#847F84

Preview Lab

Preview with #D78CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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