#D78EFD#D78EFD

#D78EFD is a light, vivid violet. Relative luminance 0.409; OKLCH L 76.1% C 0.170 H 313.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#D78EFD
RGBrgb(215, 142, 253)
HSLhsl(279, 97%, 77%)
HSVhsv(279, 44%, 99%)
CMYKcmyk(15%, 43.9%, 0%, 0.8%)
CIE-LABlab(70.10, 46.62, -44.58)
CIE-LCHlch(70.10, 64.51, 316.28°)
OKLaboklab(76.13% 0.1162 -0.1237)
OKLCHoklch(76.13% 0.17 313.2)
XYZxyz(55.4240, 40.8861, 97.8816)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EFD #B4FD8E
analogous
#9F8EFD #D78EFD #FD8EEC
triadic
#D78EFD #FDD78E #8EFDD7
tetradic
#D78EFD #FD9F8E #B4FD8E #8EECFD
square
#D78EFD #FD9F8E #B4FD8E #8EECFD
split-complementary
#D78EFD #ECFD8E #8EFD9F
monochromatic
#AC16FB #C252FC #D78EFD #ECCAFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.18
#D78EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EFD
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EFD#FFFFFF#000000##000000
##D78EFD1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#D49EBA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78efd;
/* rgb */ color: rgb(215, 142, 253);
/* oklch */ color: oklch(76.1% 0.170 313.2);
Tailwind
colors: {
  custom: {
    50: '#e5b0fe',
    500: '#d78efd',
    950: '#000000',
  },
}
SCSS
$custom: #d78efd;
$custom-light: #e5b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d78efd",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 279.459,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76127,
    "c": 0.16971,
    "h": 313.2
  },
  "luminance": 0.40885
}

Semantic roles & 50–950 ramp

primary
#D78EFD
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D78EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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