#D78ECD#D78ECD

#D78ECD is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.0% C 0.120 H 331.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#D78ECD
RGBrgb(215, 142, 205)
HSLhsl(308, 48%, 70%)
HSVhsv(308, 34%, 84%)
CMYKcmyk(0%, 34%, 4.7%, 15.7%)
CIE-LABlab(68.17, 37.34, -21.14)
CIE-LCHlch(68.17, 42.91, 330.48°)
OKLaboklab(74.04% 0.1057 -0.057)
OKLCHoklch(74.04% 0.12 331.7)
XYZxyz(48.7161, 38.2030, 62.5536)
Luminance0.3820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78ECD #8ED798
analogous
#BC8ED7 #D78ECD #D78EA9
triadic
#D78ECD #CDD78E #8ECDD7
tetradic
#D78ECD #D7BC8E #8ED798 #8EA9D7
square
#D78ECD #D7BC8E #8ED798 #8EA9D7
split-complementary
#D78ECD #A9D78E #8ED7BC
monochromatic
#AD3D9E #C761B9 #D78ECD #E7BBE1 #F7E8F5

Accessibility & contrast

On white

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

On black

8.64
#D78ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78ECD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78ECD#FFFFFF#000000##000000
##D78ECD1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#9EAACB
Tritanopia (blue-blind)
#DD92A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d78ecd;
/* rgb */ color: rgb(215, 142, 205);
/* oklch */ color: oklch(74.0% 0.120 331.7);
Tailwind
colors: {
  custom: {
    50: '#e4b0dc',
    500: '#d78ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d78ecd;
$custom-light: #e4b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ecd",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 308.219,
    "s": 47.712,
    "l": 70
  },
  "oklch": {
    "l": 0.74043,
    "c": 0.12011,
    "h": 331.7
  },
  "luminance": 0.38201
}

Semantic roles & 50–950 ramp

primary
#D78ECD
secondary
#D6EBD9
accent
#BB3E2B
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D78ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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