#D78EF8#D78EF8

#D78EF8 is a light, vivid purple. Relative luminance 0.406; OKLCH L 75.9% C 0.164 H 314.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#D78EF8
RGBrgb(215, 142, 248)
HSLhsl(281, 88%, 76%)
HSVhsv(281, 43%, 97%)
CMYKcmyk(13.3%, 42.7%, 0%, 2.7%)
CIE-LABlab(69.87, 45.59, -42.20)
CIE-LCHlch(69.87, 62.13, 317.21°)
OKLaboklab(75.89% 0.1154 -0.1168)
OKLCHoklch(75.89% 0.164 314.7)
XYZxyz(54.6379, 40.5717, 93.7416)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EF8 #AFF88E
analogous
#A28EF8 #D78EF8 #F88EE4
triadic
#D78EF8 #F8D78E #8EF8D7
tetradic
#D78EF8 #F8A28E #AFF88E #8EE4F8
square
#D78EF8 #F8A28E #AFF88E #8EE4F8
split-complementary
#D78EF8 #E4F88E #8EF8A2
monochromatic
#AE1BF1 #C354F4 #D78EF8 #EBC8FC #F5E2FD

Accessibility & contrast

On white

2.30
#D78EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#D78EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EF8
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EF8#FFFFFF#000000##000000
##D78EF81.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#D59DB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78ef8;
/* rgb */ color: rgb(215, 142, 248);
/* oklch */ color: oklch(75.9% 0.164 314.7);
Tailwind
colors: {
  custom: {
    50: '#e5b0fb',
    500: '#d78ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d78ef8;
$custom-light: #e5b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ef8",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 281.321,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75889,
    "c": 0.16419,
    "h": 314.7
  },
  "luminance": 0.4057
}

Semantic roles & 50–950 ramp

primary
#D78EF8
secondary
#E0F5D6
accent
#E50148
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D78EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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