#D78EEF#D78EEF

#D78EEF is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.5% C 0.154 H 317.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D78EEF
RGBrgb(215, 142, 239)
HSLhsl(285, 75%, 75%)
HSVhsv(285, 41%, 94%)
CMYKcmyk(10%, 40.6%, 0%, 6.3%)
CIE-LABlab(69.49, 43.77, -37.88)
CIE-LCHlch(69.49, 57.89, 319.12°)
OKLaboklab(75.47% 0.1138 -0.1044)
OKLCHoklch(75.47% 0.154 317.5)
XYZxyz(53.2751, 40.0266, 86.5641)
Luminance0.4002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EEF #A6EF8E
analogous
#A78EEF #D78EEF #EF8ED6
triadic
#D78EEF #EFD78E #8EEFD7
tetradic
#D78EEF #EFA78E #A6EF8E #8ED6EF
square
#D78EEF #EFA78E #A6EF8E #8ED6EF
split-complementary
#D78EEF #D6EF8E #8EEFA7
monochromatic
#B123E0 #C458E7 #D78EEF #EAC4F7 #F6E4FB

Accessibility & contrast

On white

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

On black

9.00
#D78EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EEF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EEF#FFFFFF#000000##000000
##D78EEF1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#D79BB3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78eef;
/* rgb */ color: rgb(215, 142, 239);
/* oklch */ color: oklch(75.5% 0.154 317.5);
Tailwind
colors: {
  custom: {
    50: '#e5b0f4',
    500: '#d78eef',
    950: '#000000',
  },
}
SCSS
$custom: #d78eef;
$custom-light: #e5b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d78eef",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 285.155,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75472,
    "c": 0.1544,
    "h": 317.5
  },
  "luminance": 0.40025
}

Semantic roles & 50–950 ramp

primary
#D78EEF
secondary
#DFF3D8
accent
#D70E40
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #D78EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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