#E77AFE#E77AFE

#E77AFE is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.0% C 0.210 H 320.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#E77AFE
RGBrgb(231, 122, 254)
HSLhsl(290, 99%, 74%)
HSVhsv(290, 52%, 100%)
CMYKcmyk(9.1%, 52%, 0%, 0.4%)
CIE-LABlab(68.07, 61.25, -48.19)
CIE-LCHlch(68.07, 77.93, 321.81°)
OKLaboklab(75.04% 0.1616 -0.1336)
OKLCHoklch(75.04% 0.21 320.4)
XYZxyz(57.8018, 38.0662, 98.0495)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77AFE #91FE7A
analogous
#A57AFE #E77AFE #FE7AD3
triadic
#E77AFE #FEE77A #7AFEE7
tetradic
#E77AFE #FEA57A #91FE7A #7AD3FE
square
#E77AFE #FEA57A #91FE7A #7AD3FE
split-complementary
#E77AFE #D3FE7A #7AFEA5
monochromatic
#D002FC #DC3DFE #E77AFE #F2B7FE #FAE1FF

Accessibility & contrast

On white

2.44
#E77AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#E77AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77AFE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77AFE#FFFFFF#000000##000000
##E77AFE1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#E98DB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e77afe;
/* rgb */ color: rgb(231, 122, 254);
/* oklch */ color: oklch(75.0% 0.210 320.4);
Tailwind
colors: {
  custom: {
    50: '#f1a4ff',
    500: '#e77afe',
    950: '#000000',
  },
}
SCSS
$custom: #e77afe;
$custom-light: #f1a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e77afe",
  "rgb": {
    "r": 231,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 289.545,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75036,
    "c": 0.20966,
    "h": 320.4
  },
  "luminance": 0.38064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E77AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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