#E77AFA#E77AFA

#E77AFA is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.8% C 0.206 H 321.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#E77AFA
RGBrgb(231, 122, 250)
HSLhsl(291, 93%, 73%)
HSVhsv(291, 51%, 98%)
CMYKcmyk(7.6%, 51.2%, 0%, 2%)
CIE-LABlab(67.88, 60.50, -46.29)
CIE-LCHlch(67.88, 76.18, 322.58°)
OKLaboklab(74.84% 0.1611 -0.1281)
OKLCHoklch(74.84% 0.206 321.5)
XYZxyz(57.1679, 37.8126, 94.7112)
Luminance0.3781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77AFA #8DFA7A
analogous
#A77AFA #E77AFA #FA7ACD
triadic
#E77AFA #FAE77A #7AFAE7
tetradic
#E77AFA #FAA77A #8DFA7A #7ACDFA
square
#E77AFA #FAA77A #8DFA7A #7ACDFA
split-complementary
#E77AFA #CDFA7A #7AFAA7
monochromatic
#CE09F1 #DC3FF8 #E77AFA #F2B5FC #FAE2FE

Accessibility & contrast

On white

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

On black

8.56
#E77AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77AFA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77AFA#FFFFFF#000000##000000
##E77AFA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#87AAF6
Tritanopia (blue-blind)
#E98BAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e77afa;
/* rgb */ color: rgb(231, 122, 250);
/* oklch */ color: oklch(74.8% 0.206 321.5);
Tailwind
colors: {
  custom: {
    50: '#f1a4fc',
    500: '#e77afa',
    950: '#000000',
  },
}
SCSS
$custom: #e77afa;
$custom-light: #f1a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e77afa",
  "rgb": {
    "r": 231,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 291.094,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74837,
    "c": 0.20586,
    "h": 321.5
  },
  "luminance": 0.3781
}

Semantic roles & 50–950 ramp

primary
#E77AFA
secondary
#DAF6D5
accent
#E60022
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E77AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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