#D78CFA#D78CFA

#D78CFA is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.7% C 0.170 H 314.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#D78CFA
RGBrgb(215, 140, 250)
HSLhsl(281, 92%, 76%)
HSVhsv(281, 44%, 98%)
CMYKcmyk(14%, 44%, 0%, 2%)
CIE-LABlab(69.55, 47.05, -43.81)
CIE-LCHlch(69.55, 64.29, 317.04°)
OKLaboklab(75.67% 0.1185 -0.1214)
OKLCHoklch(75.67% 0.17 314.3)
XYZxyz(54.6550, 40.1067, 95.2862)
Luminance0.4011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CFA #AFFA8C
analogous
#A08CFA #D78CFA #FA8CE6
triadic
#D78CFA #FAD78C #8CFAD7
tetradic
#D78CFA #FAA08C #AFFA8C #8CE6FA
square
#D78CFA #FAA08C #AFFA8C #8CE6FA
split-complementary
#D78CFA #E6FA8C #8CFAA0
monochromatic
#AE17F5 #C351F7 #D78CFA #EBC7FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.02
#D78CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CFA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CFA#FFFFFF#000000##000000
##D78CFA1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#D59CB7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78cfa;
/* rgb */ color: rgb(215, 140, 250);
/* oklch */ color: oklch(75.7% 0.170 314.3);
Tailwind
colors: {
  custom: {
    50: '#e5affc',
    500: '#d78cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d78cfa;
$custom-light: #e5affc;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cfa",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 280.909,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75671,
    "c": 0.16968,
    "h": 314.3
  },
  "luminance": 0.40105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D78CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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