#D78BFA#D78BFA

#D78BFA is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.5% C 0.171 H 314.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D78BFA
RGBrgb(215, 139, 250)
HSLhsl(281, 92%, 76%)
HSVhsv(281, 44%, 98%)
CMYKcmyk(14%, 44.4%, 0%, 2%)
CIE-LABlab(69.34, 47.58, -44.13)
CIE-LCHlch(69.34, 64.90, 317.15°)
OKLaboklab(75.52% 0.1199 -0.1224)
OKLCHoklch(75.52% 0.171 314.4)
XYZxyz(54.5095, 39.8158, 95.2377)
Luminance0.3981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78BFA #AEFA8B
analogous
#A08BFA #D78BFA #FA8BE6
triadic
#D78BFA #FAD78B #8BFAD7
tetradic
#D78BFA #FAA08B #AEFA8B #8BE6FA
square
#D78BFA #FAA08B #AEFA8B #8BE6FA
split-complementary
#D78BFA #E6FA8B #8BFAA0
monochromatic
#AF16F5 #C350F7 #D78BFA #EBC6FD #F5E2FE

Accessibility & contrast

On white

2.34
#D78BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#D78BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78BFA
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78BFA#FFFFFF#000000##000000
##D78BFA1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#8AABF7
Tritanopia (blue-blind)
#D59BB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78bfa;
/* rgb */ color: rgb(215, 139, 250);
/* oklch */ color: oklch(75.5% 0.171 314.4);
Tailwind
colors: {
  custom: {
    50: '#e5aefc',
    500: '#d78bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d78bfa;
$custom-light: #e5aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#d78bfa",
  "rgb": {
    "r": 215,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 281.081,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75516,
    "c": 0.1713,
    "h": 314.4
  },
  "luminance": 0.39814
}

Semantic roles & 50–950 ramp

primary
#D78BFA
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D78BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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