#D78EF5#D78EF5

#D78EF5 is a light, vivid purple. Relative luminance 0.404; OKLCH L 75.7% C 0.161 H 315.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#D78EF5
RGBrgb(215, 142, 245)
HSLhsl(283, 84%, 76%)
HSVhsv(283, 42%, 96%)
CMYKcmyk(12.2%, 42%, 0%, 3.9%)
CIE-LABlab(69.74, 44.98, -40.77)
CIE-LCHlch(69.74, 60.71, 317.81°)
OKLaboklab(75.75% 0.1149 -0.1127)
OKLCHoklch(75.75% 0.161 315.6)
XYZxyz(54.1762, 40.3870, 91.3101)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EF5 #ACF58E
analogous
#A38EF5 #D78EF5 #F58EE0
triadic
#D78EF5 #F5D78E #8EF5D7
tetradic
#D78EF5 #F5A38E #ACF58E #8EE0F5
square
#D78EF5 #F5A38E #ACF58E #8EE0F5
split-complementary
#D78EF5 #E0F58E #8EF5A3
monochromatic
#AF1EEB #C356F0 #D78EF5 #EBC6FA #F5E3FD

Accessibility & contrast

On white

2.31
#D78EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#D78EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EF5
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EF5#FFFFFF#000000##000000
##D78EF51.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F9
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#D69CB6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78ef5;
/* rgb */ color: rgb(215, 142, 245);
/* oklch */ color: oklch(75.7% 0.161 315.6);
Tailwind
colors: {
  custom: {
    50: '#e5b0f9',
    500: '#d78ef5',
    950: '#000000',
  },
}
SCSS
$custom: #d78ef5;
$custom-light: #e5b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ef5",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 282.524,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.16091,
    "h": 315.6
  },
  "luminance": 0.40386
}

Semantic roles & 50–950 ramp

primary
#D78EF5
secondary
#DFF4D7
accent
#E00545
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D78EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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