#D78EFF#D78EFF

#D78EFF is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.2% C 0.172 H 312.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D78EFF
RGBrgb(215, 142, 255)
HSLhsl(279, 100%, 78%)
HSVhsv(279, 44%, 100%)
CMYKcmyk(15.7%, 44.3%, 0%, 0%)
CIE-LABlab(70.19, 47.04, -45.53)
CIE-LCHlch(70.19, 65.46, 315.93°)
OKLaboklab(76.22% 0.1165 -0.1264)
OKLCHoklch(76.22% 0.172 312.7)
XYZxyz(55.7443, 41.0142, 99.5683)
Luminance0.4101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EFF #B6FF8E
analogous
#9E8EFF #D78EFF #FF8EEF
triadic
#D78EFF #FFD78E #8EFFD7
tetradic
#D78EFF #FF9E8E #B6FF8E #8EEFFF
square
#D78EFF #FF9E8E #B6FF8E #8EEFFF
split-complementary
#D78EFF #EFFF8E #8EFF9E
monochromatic
#AC14FF #C151FF #D78EFF #EDCBFF #F4E0FF

Accessibility & contrast

On white

2.28
#D78EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D78EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EFF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EFF#FFFFFF#000000##000000
##D78EFF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#D39FBB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d78eff;
/* rgb */ color: rgb(215, 142, 255);
/* oklch */ color: oklch(76.2% 0.172 312.7);
Tailwind
colors: {
  custom: {
    50: '#e5b0ff',
    500: '#d78eff',
    950: '#000000',
  },
}
SCSS
$custom: #d78eff;
$custom-light: #e5b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d78eff",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 278.761,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76223,
    "c": 0.17193,
    "h": 312.7
  },
  "luminance": 0.41013
}

Semantic roles & 50–950 ramp

primary
#D78EFF
secondary
#E0F7D4
accent
#E60051
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D78EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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