#D78FEE#D78FEE

#D78FEE is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.6% C 0.152 H 317.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D78FEE
RGBrgb(215, 143, 238)
HSLhsl(285, 74%, 75%)
HSVhsv(285, 40%, 93%)
CMYKcmyk(9.7%, 39.9%, 0%, 6.7%)
CIE-LABlab(69.66, 43.04, -37.07)
CIE-LCHlch(69.66, 56.80, 319.26°)
OKLaboklab(75.59% 0.1121 -0.1021)
OKLCHoklch(75.59% 0.152 317.7)
XYZxyz(53.2772, 40.2665, 85.8381)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78FEE #A6EE8F
analogous
#A88FEE #D78FEE #EE8FD5
triadic
#D78FEE #EED78F #8FEED7
tetradic
#D78FEE #EEA88F #A6EE8F #8FD5EE
square
#D78FEE #EEA88F #A6EE8F #8FD5EE
split-complementary
#D78FEE #D5EE8F #8FEEA8
monochromatic
#B125DE #C45AE6 #D78FEE #EAC4F6 #F6E4FB

Accessibility & contrast

On white

2.32
#D78FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#D78FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78FEE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78FEE#FFFFFF#000000##000000
##D78FEE1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#93ADEB
Tritanopia (blue-blind)
#D79BB3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78fee;
/* rgb */ color: rgb(215, 143, 238);
/* oklch */ color: oklch(75.6% 0.152 317.7);
Tailwind
colors: {
  custom: {
    50: '#e5b1f4',
    500: '#d78fee',
    950: '#000000',
  },
}
SCSS
$custom: #d78fee;
$custom-light: #e5b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d78fee",
  "rgb": {
    "r": 215,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 285.474,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75586,
    "c": 0.15163,
    "h": 317.7
  },
  "luminance": 0.40265
}

Semantic roles & 50–950 ramp

primary
#D78FEE
secondary
#DFF3D8
accent
#D61040
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D78FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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