#E78CFA#E78CFA

#E78CFA is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.4% C 0.177 H 320.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#E78CFA
RGBrgb(231, 140, 250)
HSLhsl(290, 92%, 76%)
HSVhsv(290, 44%, 98%)
CMYKcmyk(7.6%, 44%, 0%, 2%)
CIE-LABlab(71.32, 51.57, -40.91)
CIE-LCHlch(71.32, 65.82, 321.57°)
OKLaboklab(77.39% 0.1369 -0.1127)
OKLCHoklch(77.39% 0.177 320.5)
XYZxyz(59.5863, 42.6494, 95.5173)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E78CFA #9FFA8C
analogous
#B08CFA #E78CFA #FA8CD6
triadic
#E78CFA #FAE78C #8CFAE7
tetradic
#E78CFA #FAB08C #9FFA8C #8CD6FA
square
#E78CFA #FAB08C #9FFA8C #8CD6FA
split-complementary
#E78CFA #D6FA8C #8CFAB0
monochromatic
#CF17F5 #DB51F7 #E78CFA #F3C7FD #F9E2FE

Accessibility & contrast

On white

2.20
#E78CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#E78CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E78CFA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E78CFA#FFFFFF#000000##000000
##E78CFA1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#95B2F7
Tritanopia (blue-blind)
#E99AB7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e78cfa;
/* rgb */ color: rgb(231, 140, 250);
/* oklch */ color: oklch(77.4% 0.177 320.5);
Tailwind
colors: {
  custom: {
    50: '#f0b0fc',
    500: '#e78cfa',
    950: '#000000',
  },
}
SCSS
$custom: #e78cfa;
$custom-light: #f0b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e78cfa",
  "rgb": {
    "r": 231,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 289.636,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77385,
    "c": 0.17731,
    "h": 320.5
  },
  "luminance": 0.42647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E78CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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