#E77EFE#E77EFE

#E77EFE is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.6% C 0.204 H 320.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#E77EFE
RGBrgb(231, 126, 254)
HSLhsl(289, 98%, 75%)
HSVhsv(289, 50%, 100%)
CMYKcmyk(9.1%, 50.4%, 0%, 0.4%)
CIE-LABlab(68.80, 59.31, -47.03)
CIE-LCHlch(68.80, 75.70, 321.59°)
OKLaboklab(75.58% 0.1564 -0.1303)
OKLCHoklch(75.58% 0.204 320.2)
XYZxyz(58.3031, 39.0687, 98.2166)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77EFE #95FE7E
analogous
#A77EFE #E77EFE #FE7ED5
triadic
#E77EFE #FEE77E #7EFEE7
tetradic
#E77EFE #FEA77E #95FE7E #7ED5FE
square
#E77EFE #FEA77E #95FE7E #7ED5FE
split-complementary
#E77EFE #D5FE7E #7EFEA7
monochromatic
#D005FD #DC41FE #E77EFE #F2BBFE #F9E1FF

Accessibility & contrast

On white

2.38
#E77EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#E77EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77EFE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77EFE#FFFFFF#000000##000000
##E77EFE1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#88ACFA
Tritanopia (blue-blind)
#E890B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e77efe;
/* rgb */ color: rgb(231, 126, 254);
/* oklch */ color: oklch(75.6% 0.204 320.2);
Tailwind
colors: {
  custom: {
    50: '#f1a7ff',
    500: '#e77efe',
    950: '#000000',
  },
}
SCSS
$custom: #e77efe;
$custom-light: #f1a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e77efe",
  "rgb": {
    "r": 231,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 289.219,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75576,
    "c": 0.20353,
    "h": 320.2
  },
  "luminance": 0.39066
}

Semantic roles & 50–950 ramp

primary
#E77EFE
secondary
#DAF7D4
accent
#E60029
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E77EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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