#E77AFB#E77AFB

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

Color values

HEX#E77AFB
RGBrgb(231, 122, 251)
HSLhsl(291, 94%, 73%)
HSVhsv(291, 51%, 98%)
CMYKcmyk(8%, 51.4%, 0%, 1.6%)
CIE-LABlab(67.93, 60.69, -46.77)
CIE-LCHlch(67.93, 76.61, 322.38°)
OKLaboklab(74.89% 0.1613 -0.1295)
OKLCHoklch(74.89% 0.207 321.2)
XYZxyz(57.3251, 37.8755, 95.5392)
Luminance0.3787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77AFB #8EFB7A
analogous
#A67AFB #E77AFB #FB7ACE
triadic
#E77AFB #FBE77A #7AFBE7
tetradic
#E77AFB #FBA67A #8EFB7A #7ACEFB
square
#E77AFB #FBA67A #8EFB7A #7ACEFB
split-complementary
#E77AFB #CEFB7A #7AFBA6
monochromatic
#CF07F3 #DC3FF9 #E77AFB #F2B5FD #FAE1FE

Accessibility & contrast

On white

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

On black

8.57
#E77AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77AFB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77AFB#FFFFFF#000000##000000
##E77AFB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#E98CB0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e77afb;
/* rgb */ color: rgb(231, 122, 251);
/* oklch */ color: oklch(74.9% 0.207 321.2);
Tailwind
colors: {
  custom: {
    50: '#f1a4fd',
    500: '#e77afb',
    950: '#000000',
  },
}
SCSS
$custom: #e77afb;
$custom-light: #f1a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e77afb",
  "rgb": {
    "r": 231,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 290.698,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74887,
    "c": 0.20682,
    "h": 321.2
  },
  "luminance": 0.37873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E77AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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