#E7ABE2#E7ABE2

#E7ABE2 is a light, moderate purple. Relative luminance 0.516; OKLCH L 81.4% C 0.100 H 329.3°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#E7ABE2
RGBrgb(231, 171, 226)
HSLhsl(305, 56%, 79%)
HSVhsv(305, 26%, 91%)
CMYKcmyk(0%, 26%, 2.2%, 9.4%)
CIE-LABlab(77.05, 30.80, -19.04)
CIE-LCHlch(77.05, 36.21, 328.28°)
OKLaboklab(81.42% 0.0861 -0.0512)
OKLCHoklch(81.42% 0.1 329.3)
XYZxyz(61.2442, 51.6077, 78.6719)
Luminance0.5161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ABE2 #ABE7B0
analogous
#CEABE7 #E7ABE2 #E7ABC4
triadic
#E7ABE2 #E2E7AB #ABE2E7
tetradic
#E7ABE2 #E7CEAB #ABE7B0 #ABC4E7
square
#E7ABE2 #E7CEAB #ABE7B0 #ABC4E7
split-complementary
#E7ABE2 #C4E7AB #ABE7CE
monochromatic
#CC4CC1 #D97BD2 #E7ABE2 #F5DBF2 #F8E7F7

Accessibility & contrast

On white

1.85
#E7ABE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#E7ABE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ABE2
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ABE2#FFFFFF#000000##000000
##E7ABE21.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B9E4
Deuteranopia (green-blind)
#B6C1E0
Tritanopia (blue-blind)
#ECAFBE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e7abe2;
/* rgb */ color: rgb(231, 171, 226);
/* oklch */ color: oklch(81.4% 0.100 329.3);
Tailwind
colors: {
  custom: {
    50: '#efc4eb',
    500: '#e7abe2',
    950: '#000000',
  },
}
SCSS
$custom: #e7abe2;
$custom-light: #efc4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e7abe2",
  "rgb": {
    "r": 231,
    "g": 171,
    "b": 226
  },
  "hsl": {
    "h": 305,
    "s": 55.556,
    "l": 78.824
  },
  "oklch": {
    "l": 0.81418,
    "c": 0.10019,
    "h": 329.3
  },
  "luminance": 0.51606
}

Semantic roles & 50–950 ramp

primary
#E7ABE2
secondary
#74C27B
accent
#C33022
background
#FFFDFE
surface
#FEF9FD
border
#D6D2D5
text
#161316
muted
#858284

Preview Lab

Preview with #E7ABE2

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

Preview Lab → · Contrast checker → · Palette generator →

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