#E77CEB#E77CEB

#E77CEB is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.189 H 325.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#E77CEB
RGBrgb(231, 124, 235)
HSLhsl(298, 74%, 70%)
HSVhsv(298, 47%, 92%)
CMYKcmyk(1.7%, 47.2%, 0%, 7.8%)
CIE-LABlab(67.58, 56.79, -38.52)
CIE-LCHlch(67.58, 68.62, 325.85°)
OKLaboklab(74.4% 0.1564 -0.1058)
OKLCHoklch(74.4% 0.189 325.9)
XYZxyz(55.1569, 37.4052, 82.8958)
Luminance0.3740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E77CEB #80EB7C
analogous
#AF7CEB #E77CEB #EB7CB7
triadic
#E77CEB #EBE77C #7CEBE7
tetradic
#E77CEB #EBAF7C #80EB7C #7CB7EB
square
#E77CEB #EBAF7C #80EB7C #7CB7EB
split-complementary
#E77CEB #B7EB7C #7CEBAF
monochromatic
#C71FCD #DD47E3 #E77CEB #F1B1F3 #FAE4FB

Accessibility & contrast

On white

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

On black

8.48
#E77CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E77CEB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E77CEB#FFFFFF#000000##000000
##E77CEB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#90A9E8
Tritanopia (blue-blind)
#EC88A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e77ceb;
/* rgb */ color: rgb(231, 124, 235);
/* oklch */ color: oklch(74.4% 0.189 325.9);
Tailwind
colors: {
  custom: {
    50: '#f1a5f2',
    500: '#e77ceb',
    950: '#000000',
  },
}
SCSS
$custom: #e77ceb;
$custom-light: #f1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e77ceb",
  "rgb": {
    "r": 231,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 297.838,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74395,
    "c": 0.18881,
    "h": 325.9
  },
  "luminance": 0.37402
}

Semantic roles & 50–950 ramp

primary
#E77CEB
secondary
#D3F1D2
accent
#D61017
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E77CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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