#E78EFA#E78EFA

#E78EFA is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.7% C 0.174 H 320.4°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#E78EFA
RGBrgb(231, 142, 250)
HSLhsl(289, 92%, 77%)
HSVhsv(289, 43%, 98%)
CMYKcmyk(7.6%, 43.2%, 0%, 2%)
CIE-LABlab(71.72, 50.54, -40.29)
CIE-LCHlch(71.72, 64.63, 321.44°)
OKLaboklab(77.68% 0.1341 -0.111)
OKLCHoklch(77.68% 0.174 320.4)
XYZxyz(59.8812, 43.2392, 95.6156)
Luminance0.4324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E78EFA #A1FA8E
analogous
#B18EFA #E78EFA #FA8ED7
triadic
#E78EFA #FAE78E #8EFAE7
tetradic
#E78EFA #FAB18E #A1FA8E #8ED7FA
square
#E78EFA #FAB18E #A1FA8E #8ED7FA
split-complementary
#E78EFA #D7FA8E #8EFAB1
monochromatic
#CE19F5 #DB53F7 #E78EFA #F3C9FD #F9E2FE

Accessibility & contrast

On white

2.18
#E78EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#E78EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E78EFA
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E78EFA#FFFFFF#000000##000000
##E78EFA1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FE
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#E99CB8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e78efa;
/* rgb */ color: rgb(231, 142, 250);
/* oklch */ color: oklch(77.7% 0.174 320.4);
Tailwind
colors: {
  custom: {
    50: '#f0b1fc',
    500: '#e78efa',
    950: '#000000',
  },
}
SCSS
$custom: #e78efa;
$custom-light: #f0b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e78efa",
  "rgb": {
    "r": 231,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 289.444,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77684,
    "c": 0.17404,
    "h": 320.4
  },
  "luminance": 0.43237
}

Semantic roles & 50–950 ramp

primary
#E78EFA
secondary
#DBF6D5
accent
#E60028
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E78EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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