#D78FFB#D78FFB

#D78FFB is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.2% C 0.166 H 313.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D78FFB
RGBrgb(215, 143, 251)
HSLhsl(280, 93%, 77%)
HSVhsv(280, 43%, 98%)
CMYKcmyk(14.3%, 43%, 0%, 1.6%)
CIE-LABlab(70.22, 45.68, -43.30)
CIE-LCHlch(70.22, 62.94, 316.53°)
OKLaboklab(76.19% 0.1145 -0.12)
OKLCHoklch(76.19% 0.166 313.7)
XYZxyz(55.2565, 41.0583, 96.2623)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78FFB #B3FB8F
analogous
#A18FFB #D78FFB #FB8FE9
triadic
#D78FFB #FBD78F #8FFBD7
tetradic
#D78FFB #FBA18F #B3FB8F #8FE9FB
square
#D78FFB #FBA18F #B3FB8F #8FE9FB
split-complementary
#D78FFB #E9FB8F #8FFBA1
monochromatic
#AD19F7 #C254F9 #D78FFB #ECCAFD #F4E1FE

Accessibility & contrast

On white

2.28
#D78FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#D78FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78FFB
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78FFB#FFFFFF#000000##000000
##D78FFB1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8DAEF8
Tritanopia (blue-blind)
#D49FB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d78ffb;
/* rgb */ color: rgb(215, 143, 251);
/* oklch */ color: oklch(76.2% 0.166 313.7);
Tailwind
colors: {
  custom: {
    50: '#e5b1fd',
    500: '#d78ffb',
    950: '#000000',
  },
}
SCSS
$custom: #d78ffb;
$custom-light: #e5b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ffb",
  "rgb": {
    "r": 215,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76188,
    "c": 0.16586,
    "h": 313.7
  },
  "luminance": 0.41057
}

Semantic roles & 50–950 ramp

primary
#D78FFB
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D78FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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