#D78ECB#D78ECB

#D78ECB is a light, moderate purple. Relative luminance 0.381; OKLCH L 74.0% C 0.118 H 332.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#D78ECB
RGBrgb(215, 142, 203)
HSLhsl(310, 48%, 70%)
HSVhsv(310, 34%, 84%)
CMYKcmyk(0%, 34%, 5.6%, 15.7%)
CIE-LABlab(68.10, 36.99, -20.14)
CIE-LCHlch(68.10, 42.11, 331.44°)
OKLaboklab(73.97% 0.1052 -0.0542)
OKLCHoklch(73.97% 0.118 332.7)
XYZxyz(48.4763, 38.1070, 61.2903)
Luminance0.3810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78ECB #8ED79A
analogous
#BE8ED7 #D78ECB #D78EA7
triadic
#D78ECB #CBD78E #8ECBD7
tetradic
#D78ECB #D7BE8E #8ED79A #8EA7D7
square
#D78ECB #D7BE8E #8ED79A #8EA7D7
split-complementary
#D78ECB #A7D78E #8ED7BE
monochromatic
#AD3D9B #C761B6 #D78ECB #E7BBE0 #F7E8F5

Accessibility & contrast

On white

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

On black

8.62
#D78ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78ECB
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78ECB#FFFFFF#000000##000000
##D78ECB1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#9FAAC9
Tritanopia (blue-blind)
#DD92A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d78ecb;
/* rgb */ color: rgb(215, 142, 203);
/* oklch */ color: oklch(74.0% 0.118 332.7);
Tailwind
colors: {
  custom: {
    50: '#e4b0db',
    500: '#d78ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d78ecb;
$custom-light: #e4b0db;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ecb",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 309.863,
    "s": 47.712,
    "l": 70
  },
  "oklch": {
    "l": 0.73967,
    "c": 0.11831,
    "h": 332.7
  },
  "luminance": 0.38105
}

Semantic roles & 50–950 ramp

primary
#D78ECB
secondary
#D6EBDA
accent
#BB422B
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161015
muted
#847F83

Preview Lab

Preview with #D78ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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