#D78FEB#D78FEB

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

Color values

HEX#D78FEB
RGBrgb(215, 143, 235)
HSLhsl(287, 70%, 74%)
HSVhsv(287, 39%, 92%)
CMYKcmyk(8.5%, 39.1%, 0%, 7.8%)
CIE-LABlab(69.53, 42.45, -35.62)
CIE-LCHlch(69.53, 55.41, 320.00°)
OKLaboklab(75.45% 0.1115 -0.0979)
OKLCHoklch(75.45% 0.148 318.7)
XYZxyz(52.8402, 40.0917, 83.5362)
Luminance0.4009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78FEB #A3EB8F
analogous
#A98FEB #D78FEB #EB8FD1
triadic
#D78FEB #EBD78F #8FEBD7
tetradic
#D78FEB #EBA98F #A3EB8F #8FD1EB
square
#D78FEB #EBA98F #A3EB8F #8FD1EB
split-complementary
#D78FEB #D1EB8F #8FEBA9
monochromatic
#B227D8 #C45BE2 #D78FEB #EAC3F4 #F6E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D78FEB#FFFFFF#000000##000000
##D78FEB1.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)
#82A5EE
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#D89AB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78feb;
/* rgb */ color: rgb(215, 143, 235);
/* oklch */ color: oklch(75.5% 0.148 318.7);
Tailwind
colors: {
  custom: {
    50: '#e5b1f1',
    500: '#d78feb',
    950: '#000000',
  },
}
SCSS
$custom: #d78feb;
$custom-light: #e5b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d78feb",
  "rgb": {
    "r": 215,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 286.957,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75452,
    "c": 0.14841,
    "h": 318.7
  },
  "luminance": 0.4009
}

Semantic roles & 50–950 ramp

primary
#D78FEB
secondary
#DEF2D9
accent
#D2143D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D78FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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