#E77AFC#E77AFC

#E77AFC is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 74.9% C 0.208 H 321.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#E77AFC
RGBrgb(231, 122, 252)
HSLhsl(290, 96%, 73%)
HSVhsv(290, 52%, 99%)
CMYKcmyk(8.3%, 51.6%, 0%, 1.2%)
CIE-LABlab(67.98, 60.87, -47.24)
CIE-LCHlch(67.98, 77.05, 322.19°)
OKLaboklab(74.94% 0.1614 -0.1309)
OKLCHoklch(74.94% 0.208 321)
XYZxyz(57.4832, 37.9387, 96.3716)
Luminance0.3794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77AFC #8FFC7A
analogous
#A67AFC #E77AFC #FC7AD0
triadic
#E77AFC #FCE77A #7AFCE7
tetradic
#E77AFC #FCA67A #8FFC7A #7AD0FC
square
#E77AFC #FCA67A #8FFC7A #7AD0FC
split-complementary
#E77AFC #D0FC7A #7AFCA6
monochromatic
#CF06F6 #DC3EFB #E77AFC #F2B6FD #FAE1FE

Accessibility & contrast

On white

2.45
#E77AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#E77AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77AFC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77AFC#FFFFFF#000000##000000
##E77AFC1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#E98CB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e77afc;
/* rgb */ color: rgb(231, 122, 252);
/* oklch */ color: oklch(74.9% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#f1a4fe',
    500: '#e77afc',
    950: '#000000',
  },
}
SCSS
$custom: #e77afc;
$custom-light: #f1a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e77afc",
  "rgb": {
    "r": 231,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 290.308,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.20777,
    "h": 321
  },
  "luminance": 0.37936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E77AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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