#D78EDA#D78EDA

#D78EDA is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.6% C 0.133 H 325.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D78EDA
RGBrgb(215, 142, 218)
HSLhsl(298, 51%, 71%)
HSVhsv(298, 35%, 85%)
CMYKcmyk(1.4%, 34.9%, 0%, 14.5%)
CIE-LABlab(68.65, 39.71, -27.62)
CIE-LCHlch(68.65, 48.37, 325.18°)
OKLaboklab(74.56% 0.1091 -0.0752)
OKLCHoklch(74.56% 0.133 325.4)
XYZxyz(50.3510, 38.8569, 71.1639)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EDA #91DA8E
analogous
#B18EDA #D78EDA #DA8EB7
triadic
#D78EDA #DAD78E #8EDAD7
tetradic
#D78EDA #DAB18E #91DA8E #8EB7DA
square
#D78EDA #DAB18E #91DA8E #8EB7DA
split-complementary
#D78EDA #B7DA8E #8EDAB1
monochromatic
#AE3BB3 #C760CB #D78EDA #E7BCE9 #F7E8F7

Accessibility & contrast

On white

2.39
#D78EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D78EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EDA
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EDA#FFFFFF#000000##000000
##D78EDA1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DD
Deuteranopia (green-blind)
#9AABD7
Tritanopia (blue-blind)
#DB95AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d78eda;
/* rgb */ color: rgb(215, 142, 218);
/* oklch */ color: oklch(74.6% 0.133 325.4);
Tailwind
colors: {
  custom: {
    50: '#e4b0e5',
    500: '#d78eda',
    950: '#000000',
  },
}
SCSS
$custom: #d78eda;
$custom-light: #e4b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d78eda",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 297.632,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74562,
    "c": 0.13251,
    "h": 325.4
  },
  "luminance": 0.38855
}

Semantic roles & 50–950 ramp

primary
#D78EDA
secondary
#D8ECD8
accent
#BE272D
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161115
muted
#848084

Preview Lab

Preview with #D78EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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