#D78CF6#D78CF6

#D78CF6 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.5% C 0.165 H 315.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D78CF6
RGBrgb(215, 140, 246)
HSLhsl(282, 85%, 76%)
HSVhsv(282, 43%, 96%)
CMYKcmyk(12.6%, 43.1%, 0%, 3.5%)
CIE-LABlab(69.37, 46.24, -41.90)
CIE-LCHlch(69.37, 62.40, 317.81°)
OKLaboklab(75.48% 0.1179 -0.1159)
OKLCHoklch(75.48% 0.165 315.5)
XYZxyz(54.0344, 39.8585, 92.0179)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CF6 #ABF68C
analogous
#A28CF6 #D78CF6 #F68CE0
triadic
#D78CF6 #F6D78C #8CF6D7
tetradic
#D78CF6 #F6A28C #ABF68C #8CE0F6
square
#D78CF6 #F6A28C #ABF68C #8CE0F6
split-complementary
#D78CF6 #E0F68C #8CF6A2
monochromatic
#B01AED #C353F2 #D78CF6 #EBC5FA #F5E3FD

Accessibility & contrast

On white

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

On black

8.97
#D78CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CF6
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CF6#FFFFFF#000000##000000
##D78CF61.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#8DACF3
Tritanopia (blue-blind)
#D59BB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78cf6;
/* rgb */ color: rgb(215, 140, 246);
/* oklch */ color: oklch(75.5% 0.165 315.5);
Tailwind
colors: {
  custom: {
    50: '#e5aff9',
    500: '#d78cf6',
    950: '#000000',
  },
}
SCSS
$custom: #d78cf6;
$custom-light: #e5aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cf6",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 282.453,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75481,
    "c": 0.16531,
    "h": 315.5
  },
  "luminance": 0.39857
}

Semantic roles & 50–950 ramp

primary
#D78CF6
secondary
#DFF5D6
accent
#E20445
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D78CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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