#D78EFE#D78EFE

#D78EFE is a light, vivid violet. Relative luminance 0.409; OKLCH L 76.2% C 0.171 H 313.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#D78EFE
RGBrgb(215, 142, 254)
HSLhsl(279, 98%, 78%)
HSVhsv(279, 44%, 100%)
CMYKcmyk(15.4%, 44.1%, 0%, 0.4%)
CIE-LABlab(70.14, 46.83, -45.06)
CIE-LCHlch(70.14, 64.98, 316.10°)
OKLaboklab(76.18% 0.1164 -0.125)
OKLCHoklch(76.18% 0.171 313)
XYZxyz(55.5837, 40.9500, 98.7228)
Luminance0.4095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EFE #B5FE8E
analogous
#9F8EFE #D78EFE #FE8EED
triadic
#D78EFE #FED78E #8EFED7
tetradic
#D78EFE #FE9F8E #B5FE8E #8EEDFE
square
#D78EFE #FE9F8E #B5FE8E #8EEDFE
split-complementary
#D78EFE #EDFE8E #8EFE9F
monochromatic
#AC15FD #C251FD #D78EFE #ECCBFF #F4E1FF

Accessibility & contrast

On white

2.29
#D78EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#D78EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EFE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EFE#FFFFFF#000000##000000
##D78EFE1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#8BADFB
Tritanopia (blue-blind)
#D49FBA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78efe;
/* rgb */ color: rgb(215, 142, 254);
/* oklch */ color: oklch(76.2% 0.171 313.0);
Tailwind
colors: {
  custom: {
    50: '#e5b0ff',
    500: '#d78efe',
    950: '#000000',
  },
}
SCSS
$custom: #d78efe;
$custom-light: #e5b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d78efe",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 279.107,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76175,
    "c": 0.17082,
    "h": 313
  },
  "luminance": 0.40949
}

Semantic roles & 50–950 ramp

primary
#D78EFE
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D78EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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