#D78CF2#D78CF2

#D78CF2 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.3% C 0.161 H 316.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D78CF2
RGBrgb(215, 140, 242)
HSLhsl(284, 80%, 75%)
HSVhsv(284, 42%, 95%)
CMYKcmyk(11.2%, 42.1%, 0%, 5.1%)
CIE-LABlab(69.19, 45.43, -39.99)
CIE-LCHlch(69.19, 60.52, 318.65°)
OKLaboklab(75.29% 0.1172 -0.1104)
OKLCHoklch(75.29% 0.161 316.7)
XYZxyz(53.4271, 39.6155, 88.8193)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CF2 #A7F28C
analogous
#A48CF2 #D78CF2 #F28CDA
triadic
#D78CF2 #F2D78C #8CF2D7
tetradic
#D78CF2 #F2A48C #A7F28C #8CDAF2
square
#D78CF2 #F2A48C #A7F28C #8CDAF2
split-complementary
#D78CF2 #DAF28C #8CF2A4
monochromatic
#B11EE6 #C455EC #D78CF2 #EAC3F8 #F5E4FC

Accessibility & contrast

On white

2.35
#D78CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#D78CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CF2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CF2#FFFFFF#000000##000000
##D78CF21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#D69AB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78cf2;
/* rgb */ color: rgb(215, 140, 242);
/* oklch */ color: oklch(75.3% 0.161 316.7);
Tailwind
colors: {
  custom: {
    50: '#e5aff6',
    500: '#d78cf2',
    950: '#000000',
  },
}
SCSS
$custom: #d78cf2;
$custom-light: #e5aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cf2",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 284.118,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75294,
    "c": 0.16098,
    "h": 316.7
  },
  "luminance": 0.39614
}

Semantic roles & 50–950 ramp

primary
#D78CF2
secondary
#DFF4D7
accent
#DC0A41
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#161017
muted
#847F85

Preview Lab

Preview with #D78CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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