#D78CD4#D78CD4

#D78CD4 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.0% C 0.130 H 328.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#D78CD4
RGBrgb(215, 140, 212)
HSLhsl(302, 48%, 70%)
HSVhsv(302, 35%, 84%)
CMYKcmyk(0%, 34.9%, 1.4%, 15.7%)
CIE-LABlab(67.99, 39.67, -25.31)
CIE-LCHlch(67.99, 47.05, 327.46°)
OKLaboklab(73.99% 0.1106 -0.0686)
OKLCHoklch(73.99% 0.13 328.2)
XYZxyz(49.2852, 37.9588, 67.0053)
Luminance0.3796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CD4 #8CD78F
analogous
#B58CD7 #D78CD4 #D78CAF
triadic
#D78CD4 #D4D78C #8CD4D7
tetradic
#D78CD4 #D7B58C #8CD78F #8CAFD7
square
#D78CD4 #D7B58C #8CD78F #8CAFD7
split-complementary
#D78CD4 #AFD78C #8CD7B5
monochromatic
#AD3CA8 #C75FC3 #D78CD4 #E7B9E5 #F7E7F6

Accessibility & contrast

On white

2.44
#D78CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#D78CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CD4
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CD4#FFFFFF#000000##000000
##D78CD41.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A0D7
Deuteranopia (green-blind)
#9AA9D2
Tritanopia (blue-blind)
#DC92A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d78cd4;
/* rgb */ color: rgb(215, 140, 212);
/* oklch */ color: oklch(74.0% 0.130 328.2);
Tailwind
colors: {
  custom: {
    50: '#e4afe1',
    500: '#d78cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d78cd4;
$custom-light: #e4afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cd4",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 302.4,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73991,
    "c": 0.13016,
    "h": 328.2
  },
  "luminance": 0.37957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D78CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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