#D78EF9#D78EF9

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

Color values

HEX#D78EF9
RGBrgb(215, 142, 249)
HSLhsl(281, 90%, 77%)
HSVhsv(281, 43%, 98%)
CMYKcmyk(13.7%, 43%, 0%, 2.4%)
CIE-LABlab(69.92, 45.80, -42.68)
CIE-LCHlch(69.92, 62.60, 317.02°)
OKLaboklab(75.94% 0.1156 -0.1182)
OKLCHoklch(75.94% 0.165 314.4)
XYZxyz(54.7935, 40.6339, 94.5609)
Luminance0.4063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EF9 #B0F98E
analogous
#A28EF9 #D78EF9 #F98EE5
triadic
#D78EF9 #F9D78E #8EF9D7
tetradic
#D78EF9 #F9A28E #B0F98E #8EE5F9
square
#D78EF9 #F9A28E #B0F98E #8EE5F9
split-complementary
#D78EF9 #E5F98E #8EF9A2
monochromatic
#AE1AF3 #C254F6 #D78EF9 #ECC8FC #F5E2FD

Accessibility & contrast

On white

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

On black

9.13
#D78EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EF9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EF9#FFFFFF#000000##000000
##D78EF91.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FD
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#D59DB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78ef9;
/* rgb */ color: rgb(215, 142, 249);
/* oklch */ color: oklch(75.9% 0.165 314.4);
Tailwind
colors: {
  custom: {
    50: '#e5b0fb',
    500: '#d78ef9',
    950: '#000000',
  },
}
SCSS
$custom: #d78ef9;
$custom-light: #e5b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ef9",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 280.935,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75936,
    "c": 0.1653,
    "h": 314.4
  },
  "luminance": 0.40633
}

Semantic roles & 50–950 ramp

primary
#D78EF9
secondary
#E0F6D5
accent
#E60049
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D78EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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