#D78AFE#D78AFE

#D78AFE is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.6% C 0.177 H 313.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D78AFE
RGBrgb(215, 138, 254)
HSLhsl(280, 98%, 77%)
HSVhsv(280, 46%, 100%)
CMYKcmyk(15.4%, 45.7%, 0%, 0.4%)
CIE-LABlab(69.31, 48.92, -46.36)
CIE-LCHlch(69.31, 67.40, 316.54°)
OKLaboklab(75.56% 0.1219 -0.1288)
OKLCHoklch(75.56% 0.177 313.4)
XYZxyz(54.9992, 39.7810, 98.5279)
Luminance0.3978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78AFE #B1FE8A
analogous
#9D8AFE #D78AFE #FE8AEB
triadic
#D78AFE #FED78A #8AFED7
tetradic
#D78AFE #FE9D8A #B1FE8A #8AEBFE
square
#D78AFE #FE9D8A #B1FE8A #8AEBFE
split-complementary
#D78AFE #EBFE8A #8AFE9D
monochromatic
#AE11FD #C24DFD #D78AFE #ECC7FF #F5E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D78AFE#FFFFFF#000000##000000
##D78AFE1.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)
#72A5FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#D49BB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78afe;
/* rgb */ color: rgb(215, 138, 254);
/* oklch */ color: oklch(75.6% 0.177 313.4);
Tailwind
colors: {
  custom: {
    50: '#e5aeff',
    500: '#d78afe',
    950: '#000000',
  },
}
SCSS
$custom: #d78afe;
$custom-light: #e5aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#d78afe",
  "rgb": {
    "r": 215,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 279.828,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75557,
    "c": 0.17728,
    "h": 313.4
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#D78AFE
secondary
#E0F7D4
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D78AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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