#D78EF7#D78EF7

#D78EF7 is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.8% C 0.163 H 315.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D78EF7
RGBrgb(215, 142, 247)
HSLhsl(282, 87%, 76%)
HSVhsv(282, 43%, 97%)
CMYKcmyk(13%, 42.5%, 0%, 3.1%)
CIE-LABlab(69.83, 45.39, -41.73)
CIE-LCHlch(69.83, 61.65, 317.41°)
OKLaboklab(75.84% 0.1152 -0.1154)
OKLCHoklch(75.84% 0.163 315)
XYZxyz(54.4832, 40.5098, 92.9268)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EF7 #AEF78E
analogous
#A38EF7 #D78EF7 #F78EE3
triadic
#D78EF7 #F7D78E #8EF7D7
tetradic
#D78EF7 #F7A38E #AEF78E #8EE3F7
square
#D78EF7 #F7A38E #AEF78E #8EE3F7
split-complementary
#D78EF7 #E3F78E #8EF7A3
monochromatic
#AF1CEF #C355F3 #D78EF7 #EBC7FB #F5E2FD

Accessibility & contrast

On white

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

On black

9.10
#D78EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EF7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EF7#FFFFFF#000000##000000
##D78EF71.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d78ef7;
/* rgb */ color: rgb(215, 142, 247);
/* oklch */ color: oklch(75.8% 0.163 315.0);
Tailwind
colors: {
  custom: {
    50: '#e5b0fa',
    500: '#d78ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d78ef7;
$custom-light: #e5b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ef7",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 281.714,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75842,
    "c": 0.1631,
    "h": 315
  },
  "luminance": 0.40508
}

Semantic roles & 50–950 ramp

primary
#D78EF7
secondary
#DFF5D6
accent
#E30247
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D78EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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