#D78FEF#D78FEF

#D78FEF is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.6% C 0.153 H 317.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D78FEF
RGBrgb(215, 143, 239)
HSLhsl(285, 75%, 75%)
HSVhsv(285, 40%, 94%)
CMYKcmyk(10%, 40.2%, 0%, 6.3%)
CIE-LABlab(69.70, 43.24, -37.55)
CIE-LCHlch(69.70, 57.27, 319.03°)
OKLaboklab(75.63% 0.1123 -0.1034)
OKLCHoklch(75.63% 0.153 317.4)
XYZxyz(53.4246, 40.3255, 86.6139)
Luminance0.4032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78FEF #A7EF8F
analogous
#A78FEF #D78FEF #EF8FD7
triadic
#D78FEF #EFD78F #8FEFD7
tetradic
#D78FEF #EFA78F #A7EF8F #8FD7EF
square
#D78FEF #EFA78F #A7EF8F #8FD7EF
split-complementary
#D78FEF #D7EF8F #8FEFA7
monochromatic
#B124E0 #C459E7 #D78FEF #EAC5F7 #F5E4FB

Accessibility & contrast

On white

2.32
#D78FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#D78FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78FEF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78FEF#FFFFFF#000000##000000
##D78FEF1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F3
Deuteranopia (green-blind)
#92ADEC
Tritanopia (blue-blind)
#D79BB4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78fef;
/* rgb */ color: rgb(215, 143, 239);
/* oklch */ color: oklch(75.6% 0.153 317.4);
Tailwind
colors: {
  custom: {
    50: '#e5b1f4',
    500: '#d78fef',
    950: '#000000',
  },
}
SCSS
$custom: #d78fef;
$custom-light: #e5b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d78fef",
  "rgb": {
    "r": 215,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75632,
    "c": 0.15272,
    "h": 317.4
  },
  "luminance": 0.40324
}

Semantic roles & 50–950 ramp

primary
#D78FEF
secondary
#DFF3D8
accent
#D70E41
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D78FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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