#D78DF2#D78DF2

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

Color values

HEX#D78DF2
RGBrgb(215, 141, 242)
HSLhsl(284, 80%, 75%)
HSVhsv(284, 42%, 95%)
CMYKcmyk(11.2%, 41.7%, 0%, 5.1%)
CIE-LABlab(69.40, 44.90, -39.66)
CIE-LCHlch(69.40, 59.91, 318.55°)
OKLaboklab(75.45% 0.1157 -0.1095)
OKLCHoklch(75.45% 0.159 316.6)
XYZxyz(53.5739, 39.9091, 88.8683)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78DF2 #A8F28D
analogous
#A48DF2 #D78DF2 #F28DDB
triadic
#D78DF2 #F2D78D #8DF2D7
tetradic
#D78DF2 #F2A48D #A8F28D #8DDBF2
square
#D78DF2 #F2A48D #A8F28D #8DDBF2
split-complementary
#D78DF2 #DBF28D #8DF2A4
monochromatic
#B01FE5 #C456EC #D78DF2 #EAC4F8 #F5E4FC

Accessibility & contrast

On white

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

On black

8.98
#D78DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78DF2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78DF2#FFFFFF#000000##000000
##D78DF21.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#D69BB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d78df2;
/* rgb */ color: rgb(215, 141, 242);
/* oklch */ color: oklch(75.5% 0.159 316.6);
Tailwind
colors: {
  custom: {
    50: '#e5b0f6',
    500: '#d78df2',
    950: '#000000',
  },
}
SCSS
$custom: #d78df2;
$custom-light: #e5b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d78df2",
  "rgb": {
    "r": 215,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 283.96,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75451,
    "c": 0.15931,
    "h": 316.6
  },
  "luminance": 0.39908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D78DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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