#D78DFD#D78DFD

#D78DFD is a light, vivid violet. Relative luminance 0.406; OKLCH L 76.0% C 0.171 H 313.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#D78DFD
RGBrgb(215, 141, 253)
HSLhsl(280, 97%, 77%)
HSVhsv(280, 44%, 99%)
CMYKcmyk(15%, 44.3%, 0%, 0.8%)
CIE-LABlab(69.89, 47.15, -44.91)
CIE-LCHlch(69.89, 65.11, 316.39°)
OKLaboklab(75.97% 0.1176 -0.1246)
OKLCHoklch(75.97% 0.171 313.3)
XYZxyz(55.2759, 40.5899, 97.8322)
Luminance0.4059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78DFD #B3FD8D
analogous
#9F8DFD #D78DFD #FD8DEB
triadic
#D78DFD #FDD78D #8DFDD7
tetradic
#D78DFD #FD9F8D #B3FD8D #8DEBFD
square
#D78DFD #FD9F8D #B3FD8D #8DEBFD
split-complementary
#D78DFD #EBFD8D #8DFD9F
monochromatic
#AD15FB #C251FC #D78DFD #ECC9FE #F4E1FE

Accessibility & contrast

On white

2.30
#D78DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#D78DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78DFD
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78DFD#FFFFFF#000000##000000
##D78DFD1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#D49EB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78dfd;
/* rgb */ color: rgb(215, 141, 253);
/* oklch */ color: oklch(76.0% 0.171 313.3);
Tailwind
colors: {
  custom: {
    50: '#e5b0fe',
    500: '#d78dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d78dfd;
$custom-light: #e5b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d78dfd",
  "rgb": {
    "r": 215,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 279.643,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75971,
    "c": 0.17133,
    "h": 313.3
  },
  "luminance": 0.40589
}

Semantic roles & 50–950 ramp

primary
#D78DFD
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D78DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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