#D78CED#D78CED

#D78CED is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.1% C 0.156 H 318.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#D78CED
RGBrgb(215, 140, 237)
HSLhsl(286, 73%, 74%)
HSVhsv(286, 41%, 93%)
CMYKcmyk(9.3%, 40.9%, 0%, 7.1%)
CIE-LABlab(68.98, 44.43, -37.58)
CIE-LCHlch(68.98, 58.19, 319.78°)
OKLaboklab(75.06% 0.1162 -0.1035)
OKLCHoklch(75.06% 0.156 318.3)
XYZxyz(52.6864, 39.3192, 84.9183)
Luminance0.3932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CED #A2ED8C
analogous
#A78CED #D78CED #ED8CD3
triadic
#D78CED #EDD78C #8CEDD7
tetradic
#D78CED #EDA78C #A2ED8C #8CD3ED
square
#D78CED #EDA78C #A2ED8C #8CD3ED
split-complementary
#D78CED #D3ED8C #8CEDA7
monochromatic
#B222DC #C557E5 #D78CED #E9C1F5 #F6E5FB

Accessibility & contrast

On white

2.37
#D78CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#D78CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CED
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CED#FFFFFF#000000##000000
##D78CED1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F1
Deuteranopia (green-blind)
#91ABEA
Tritanopia (blue-blind)
#D798B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d78ced;
/* rgb */ color: rgb(215, 140, 237);
/* oklch */ color: oklch(75.1% 0.156 318.3);
Tailwind
colors: {
  custom: {
    50: '#e5aff3',
    500: '#d78ced',
    950: '#000000',
  },
}
SCSS
$custom: #d78ced;
$custom-light: #e5aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ced",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 286.392,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75064,
    "c": 0.15561,
    "h": 318.3
  },
  "luminance": 0.39318
}

Semantic roles & 50–950 ramp

primary
#D78CED
secondary
#DEF3D8
accent
#D5103D
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #D78CED

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

Preview Lab → · Contrast checker → · Palette generator →

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