#D78DFB#D78DFB

#D78DFB is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.9% C 0.169 H 313.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#D78DFB
RGBrgb(215, 141, 251)
HSLhsl(280, 93%, 77%)
HSVhsv(280, 44%, 98%)
CMYKcmyk(14.3%, 43.8%, 0%, 1.6%)
CIE-LABlab(69.80, 46.73, -43.96)
CIE-LCHlch(69.80, 64.16, 316.75°)
OKLaboklab(75.88% 0.1173 -0.1219)
OKLCHoklch(75.88% 0.169 313.9)
XYZxyz(54.9590, 40.4631, 96.1631)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78DFB #B1FB8D
analogous
#A08DFB #D78DFB #FB8DE8
triadic
#D78DFB #FBD78D #8DFBD7
tetradic
#D78DFB #FBA08D #B1FB8D #8DE8FB
square
#D78DFB #FBA08D #B1FB8D #8DE8FB
split-complementary
#D78DFB #E8FB8D #8DFBA0
monochromatic
#AE17F7 #C252F9 #D78DFB #ECC8FD #F5E1FE

Accessibility & contrast

On white

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

On black

9.09
#D78DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78DFB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78DFB#FFFFFF#000000##000000
##D78DFB1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FF
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#D49DB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78dfb;
/* rgb */ color: rgb(215, 141, 251);
/* oklch */ color: oklch(75.9% 0.169 313.9);
Tailwind
colors: {
  custom: {
    50: '#e5b0fd',
    500: '#d78dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d78dfb;
$custom-light: #e5b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d78dfb",
  "rgb": {
    "r": 215,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 280.364,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75875,
    "c": 0.16914,
    "h": 313.9
  },
  "luminance": 0.40462
}

Semantic roles & 50–950 ramp

primary
#D78DFB
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #D78DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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