#E77AF2#E77AF2

#E77AF2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.4% C 0.198 H 323.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#E77AF2
RGBrgb(231, 122, 242)
HSLhsl(295, 82%, 71%)
HSVhsv(295, 50%, 95%)
CMYKcmyk(4.5%, 49.6%, 0%, 5.1%)
CIE-LABlab(67.52, 59.03, -42.47)
CIE-LCHlch(67.52, 72.72, 324.26°)
OKLaboklab(74.45% 0.1601 -0.1171)
OKLCHoklch(74.45% 0.198 323.8)
XYZxyz(55.9400, 37.3215, 88.2444)
Luminance0.3732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77AF2 #85F27A
analogous
#AB7AF2 #E77AF2 #F27AC1
triadic
#E77AF2 #F2E77A #7AF2E7
tetradic
#E77AF2 #F2AB7A #85F27A #7AC1F2
square
#E77AF2 #F2AB7A #85F27A #7AC1F2
split-complementary
#E77AF2 #C1F27A #7AF2AB
monochromatic
#CA16DC #DD42ED #E77AF2 #F1B2F7 #FAE3FC

Accessibility & contrast

On white

2.48
#E77AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#E77AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77AF2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77AF2#FFFFFF#000000##000000
##E77AF21.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#EB89AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e77af2;
/* rgb */ color: rgb(231, 122, 242);
/* oklch */ color: oklch(74.4% 0.198 323.8);
Tailwind
colors: {
  custom: {
    50: '#f1a4f7',
    500: '#e77af2',
    950: '#000000',
  },
}
SCSS
$custom: #e77af2;
$custom-light: #f1a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e77af2",
  "rgb": {
    "r": 231,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 294.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74449,
    "c": 0.1984,
    "h": 323.8
  },
  "luminance": 0.37319
}

Semantic roles & 50–950 ramp

primary
#E77AF2
secondary
#D7F3D4
accent
#DF071B
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E77AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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