#D78BFB#D78BFB

#D78BFB is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.6% C 0.172 H 314.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D78BFB
RGBrgb(215, 139, 251)
HSLhsl(281, 93%, 76%)
HSVhsv(281, 45%, 98%)
CMYKcmyk(14.3%, 44.6%, 0%, 1.6%)
CIE-LABlab(69.38, 47.78, -44.61)
CIE-LCHlch(69.38, 65.37, 316.97°)
OKLaboklab(75.56% 0.12 -0.1237)
OKLCHoklch(75.56% 0.172 314.1)
XYZxyz(54.6667, 39.8787, 96.0657)
Luminance0.3988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78BFB #AFFB8B
analogous
#9F8BFB #D78BFB #FB8BE7
triadic
#D78BFB #FBD78B #8BFBD7
tetradic
#D78BFB #FB9F8B #AFFB8B #8BE7FB
square
#D78BFB #FB9F8B #AFFB8B #8BE7FB
split-complementary
#D78BFB #E7FB8B #8BFB9F
monochromatic
#AE15F7 #C350F9 #D78BFB #EBC6FD #F5E1FE

Accessibility & contrast

On white

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

On black

8.98
#D78BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78BFB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78BFB#FFFFFF#000000##000000
##D78BFB1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#D49BB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78bfb;
/* rgb */ color: rgb(215, 139, 251);
/* oklch */ color: oklch(75.6% 0.172 314.1);
Tailwind
colors: {
  custom: {
    50: '#e5aefd',
    500: '#d78bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d78bfb;
$custom-light: #e5aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#d78bfb",
  "rgb": {
    "r": 215,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 280.714,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75564,
    "c": 0.17239,
    "h": 314.1
  },
  "luminance": 0.39877
}

Semantic roles & 50–950 ramp

primary
#D78BFB
secondary
#E0F6D5
accent
#E6004A
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D78BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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