#D78CD2#D78CD2

#D78CD2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 73.9% C 0.128 H 329.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D78CD2
RGBrgb(215, 140, 210)
HSLhsl(304, 48%, 70%)
HSVhsv(304, 35%, 84%)
CMYKcmyk(0%, 34.9%, 2.3%, 15.7%)
CIE-LABlab(67.92, 39.30, -24.31)
CIE-LCHlch(67.92, 46.21, 328.26°)
OKLaboklab(73.91% 0.1101 -0.0658)
OKLCHoklch(73.91% 0.128 329.1)
XYZxyz(49.0345, 37.8585, 65.6848)
Luminance0.3786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CD2 #8CD791
analogous
#B78CD7 #D78CD2 #D78CAD
triadic
#D78CD2 #D2D78C #8CD2D7
tetradic
#D78CD2 #D7B78C #8CD791 #8CADD7
square
#D78CD2 #D7B78C #8CD791 #8CADD7
split-complementary
#D78CD2 #ADD78C #8CD7B7
monochromatic
#AD3CA5 #C75FC0 #D78CD2 #E7B9E4 #F7E7F6

Accessibility & contrast

On white

2.45
#D78CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D78CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CD2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CD2#FFFFFF#000000##000000
##D78CD21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD5
Deuteranopia (green-blind)
#9BA9D0
Tritanopia (blue-blind)
#DC92A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d78cd2;
/* rgb */ color: rgb(215, 140, 210);
/* oklch */ color: oklch(73.9% 0.128 329.1);
Tailwind
colors: {
  custom: {
    50: '#e4afe0',
    500: '#d78cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d78cd2;
$custom-light: #e4afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cd2",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 304,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73911,
    "c": 0.12827,
    "h": 329.1
  },
  "luminance": 0.37856
}

Semantic roles & 50–950 ramp

primary
#D78CD2
secondary
#D5EAD6
accent
#BC342A
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D78CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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