#D78BFE#D78BFE

#D78BFE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.7% C 0.176 H 313.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#D78BFE
RGBrgb(215, 139, 254)
HSLhsl(280, 98%, 77%)
HSVhsv(280, 45%, 100%)
CMYKcmyk(15.4%, 45.3%, 0%, 0.4%)
CIE-LABlab(69.52, 48.40, -46.03)
CIE-LCHlch(69.52, 66.80, 316.44°)
OKLaboklab(75.71% 0.1205 -0.1278)
OKLCHoklch(75.71% 0.176 313.3)
XYZxyz(55.1434, 40.0693, 98.5760)
Luminance0.4007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78BFE #B2FE8B
analogous
#9E8BFE #D78BFE #FE8BEC
triadic
#D78BFE #FED78B #8BFED7
tetradic
#D78BFE #FE9E8B #B2FE8B #8BECFE
square
#D78BFE #FE9E8B #B2FE8B #8BECFE
split-complementary
#D78BFE #ECFE8B #8BFE9E
monochromatic
#AD12FD #C24EFD #D78BFE #ECC8FF #F5E1FF

Accessibility & contrast

On white

2.33
#D78BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#D78BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78BFE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78BFE#FFFFFF#000000##000000
##D78BFE1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#D49CB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78bfe;
/* rgb */ color: rgb(215, 139, 254);
/* oklch */ color: oklch(75.7% 0.176 313.3);
Tailwind
colors: {
  custom: {
    50: '#e5aeff',
    500: '#d78bfe',
    950: '#000000',
  },
}
SCSS
$custom: #d78bfe;
$custom-light: #e5aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#d78bfe",
  "rgb": {
    "r": 215,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 279.652,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7571,
    "c": 0.17567,
    "h": 313.3
  },
  "luminance": 0.40068
}

Semantic roles & 50–950 ramp

primary
#D78BFE
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D78BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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