#E78DEC#E78DEC

#E78DEC is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.9% C 0.162 H 325.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#E78DEC
RGBrgb(231, 141, 236)
HSLhsl(297, 71%, 74%)
HSVhsv(297, 40%, 93%)
CMYKcmyk(2.1%, 40.3%, 0%, 7.5%)
CIE-LABlab(70.94, 48.43, -33.85)
CIE-LCHlch(70.94, 59.09, 325.05°)
OKLaboklab(76.91% 0.1328 -0.0926)
OKLCHoklch(76.91% 0.162 325.1)
XYZxyz(57.6188, 42.0973, 84.4311)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E78DEC #92EC8D
analogous
#B88DEC #E78DEC #EC8DC2
triadic
#E78DEC #ECE78D #8DECE7
tetradic
#E78DEC #ECB88D #92EC8D #8DC2EC
square
#E78DEC #ECB88D #92EC8D #8DC2EC
split-complementary
#E78DEC #C2EC8D #8DECB8
monochromatic
#D124DA #DC59E3 #E78DEC #F2C1F5 #F9E5FB

Accessibility & contrast

On white

2.23
#E78DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#E78DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E78DEC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E78DEC#FFFFFF#000000##000000
##E78DEC1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#EB97B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e78dec;
/* rgb */ color: rgb(231, 141, 236);
/* oklch */ color: oklch(76.9% 0.162 325.1);
Tailwind
colors: {
  custom: {
    50: '#f0b0f2',
    500: '#e78dec',
    950: '#000000',
  },
}
SCSS
$custom: #e78dec;
$custom-light: #f0b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e78dec",
  "rgb": {
    "r": 231,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 296.842,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76912,
    "c": 0.16188,
    "h": 325.1
  },
  "luminance": 0.42095
}

Semantic roles & 50–950 ramp

primary
#E78DEC
secondary
#DAF2D9
accent
#D3121C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E78DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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