#E77DEC#E77DEC

#E77DEC is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.6% C 0.188 H 325.6°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#E77DEC
RGBrgb(231, 125, 236)
HSLhsl(297, 74%, 71%)
HSVhsv(297, 47%, 93%)
CMYKcmyk(2.1%, 47%, 0%, 7.5%)
CIE-LABlab(67.81, 56.48, -38.71)
CIE-LCHlch(67.81, 68.48, 325.57°)
OKLaboklab(74.58% 0.1552 -0.1063)
OKLCHoklch(74.58% 0.188 325.6)
XYZxyz(55.4277, 37.7150, 83.7008)
Luminance0.3771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77DEC #82EC7D
analogous
#AF7DEC #E77DEC #EC7DB9
triadic
#E77DEC #ECE77D #7DECE7
tetradic
#E77DEC #ECAF7D #82EC7D #7DB9EC
square
#E77DEC #ECAF7D #82EC7D #7DB9EC
split-complementary
#E77DEC #B9EC7D #7DECAF
monochromatic
#C81ED0 #DD48E4 #E77DEC #F1B2F4 #FAE4FB

Accessibility & contrast

On white

2.46
#E77DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#E77DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77DEC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77DEC#FFFFFF#000000##000000
##E77DEC1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#EC89AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e77dec;
/* rgb */ color: rgb(231, 125, 236);
/* oklch */ color: oklch(74.6% 0.188 325.6);
Tailwind
colors: {
  custom: {
    50: '#f1a6f2',
    500: '#e77dec',
    950: '#000000',
  },
}
SCSS
$custom: #e77dec;
$custom-light: #f1a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e77dec",
  "rgb": {
    "r": 231,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 297.297,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74579,
    "c": 0.18813,
    "h": 325.6
  },
  "luminance": 0.37712
}

Semantic roles & 50–950 ramp

primary
#E77DEC
secondary
#D5F1D3
accent
#D70F18
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E77DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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