#E77FEC#E77FEC

#E77FEC is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.9% C 0.185 H 325.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#E77FEC
RGBrgb(231, 127, 236)
HSLhsl(297, 74%, 71%)
HSVhsv(297, 46%, 93%)
CMYKcmyk(2.1%, 46.2%, 0%, 7.5%)
CIE-LABlab(68.19, 55.50, -38.12)
CIE-LCHlch(68.19, 67.33, 325.51°)
OKLaboklab(74.86% 0.1525 -0.1047)
OKLCHoklch(74.86% 0.185 325.5)
XYZxyz(55.6834, 38.2265, 83.7860)
Luminance0.3822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77FEC #84EC7F
analogous
#B07FEC #E77FEC #EC7FBA
triadic
#E77FEC #ECE77F #7FECE7
tetradic
#E77FEC #ECB07F #84EC7F #7FBAEC
square
#E77FEC #ECB07F #84EC7F #7FBAEC
split-complementary
#E77FEC #BAEC7F #7FECB0
monochromatic
#C91FD2 #DD4AE4 #E77FEC #F1B4F4 #FAE4FB

Accessibility & contrast

On white

2.43
#E77FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#E77FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77FEC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77FEC#FFFFFF#000000##000000
##E77FEC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#EC8BAB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e77fec;
/* rgb */ color: rgb(231, 127, 236);
/* oklch */ color: oklch(74.9% 0.185 325.5);
Tailwind
colors: {
  custom: {
    50: '#f1a7f2',
    500: '#e77fec',
    950: '#000000',
  },
}
SCSS
$custom: #e77fec;
$custom-light: #f1a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e77fec",
  "rgb": {
    "r": 231,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 297.248,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74859,
    "c": 0.18493,
    "h": 325.5
  },
  "luminance": 0.38224
}

Semantic roles & 50–950 ramp

primary
#E77FEC
secondary
#D6F2D5
accent
#D60F18
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E77FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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