#D78FF2#D78FF2

#D78FF2 is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.8% C 0.156 H 316.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D78FF2
RGBrgb(215, 143, 242)
HSLhsl(284, 79%, 75%)
HSVhsv(284, 41%, 95%)
CMYKcmyk(11.2%, 40.9%, 0%, 5.1%)
CIE-LABlab(69.83, 43.84, -39.00)
CIE-LCHlch(69.83, 58.68, 318.35°)
OKLaboklab(75.77% 0.1129 -0.1076)
OKLCHoklch(75.77% 0.156 316.4)
XYZxyz(53.8714, 40.5042, 88.9675)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78FF2 #AAF28F
analogous
#A58FF2 #D78FF2 #F28FDC
triadic
#D78FF2 #F2D78F #8FF2D7
tetradic
#D78FF2 #F2A58F #AAF28F #8FDCF2
square
#D78FF2 #F2A58F #AAF28F #8FDCF2
split-complementary
#D78FF2 #DCF28F #8FF2A5
monochromatic
#B021E5 #C358EC #D78FF2 #EBC6F8 #F5E4FC

Accessibility & contrast

On white

2.31
#D78FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#D78FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78FF2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78FF2#FFFFFF#000000##000000
##D78FF21.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#91ADEF
Tritanopia (blue-blind)
#D69CB5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78ff2;
/* rgb */ color: rgb(215, 143, 242);
/* oklch */ color: oklch(75.8% 0.156 316.4);
Tailwind
colors: {
  custom: {
    50: '#e5b1f6',
    500: '#d78ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d78ff2;
$custom-light: #e5b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ff2",
  "rgb": {
    "r": 215,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 283.636,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75768,
    "c": 0.15597,
    "h": 316.4
  },
  "luminance": 0.40503
}

Semantic roles & 50–950 ramp

primary
#D78FF2
secondary
#DFF4D7
accent
#DB0A43
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D78FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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