#E2AFEA#E2AFEA

#E2AFEA is a light, moderate purple. Relative luminance 0.528; OKLCH L 81.9% C 0.098 H 321.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#E2AFEA
RGBrgb(226, 175, 234)
HSLhsl(292, 58%, 80%)
HSVhsv(292, 25%, 92%)
CMYKcmyk(3.4%, 25.2%, 0%, 8.2%)
CIE-LABlab(77.74, 28.52, -22.37)
CIE-LCHlch(77.74, 36.24, 321.89°)
OKLaboklab(81.93% 0.077 -0.0605)
OKLCHoklch(81.93% 0.098 321.8)
XYZxyz(61.5434, 52.7706, 84.7697)
Luminance0.5277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFEA #B7EAAF
analogous
#C4AFEA #E2AFEA #EAAFD5
triadic
#E2AFEA #EAE2AF #AFEAE2
tetradic
#E2AFEA #EAC4AF #B7EAAF #AFD5EA
square
#E2AFEA #EAC4AF #B7EAAF #AFD5EA
split-complementary
#E2AFEA #D5EAAF #AFEAC4
monochromatic
#BF4ED1 #D07FDD #E2AFEA #F4DFF7 #F6E7F9

Accessibility & contrast

On white

1.82
#E2AFEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#E2AFEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFEA
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFEA#FFFFFF#000000##000000
##E2AFEA1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BCEC
Deuteranopia (green-blind)
#B5C2E8
Tritanopia (blue-blind)
#E4B5C4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2afea;
/* rgb */ color: rgb(226, 175, 234);
/* oklch */ color: oklch(81.9% 0.098 321.8);
Tailwind
colors: {
  custom: {
    50: '#ebc7f0',
    500: '#e2afea',
    950: '#000000',
  },
}
SCSS
$custom: #e2afea;
$custom-light: #ebc7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afea",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 234
  },
  "hsl": {
    "h": 291.864,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81926,
    "c": 0.09793,
    "h": 321.8
  },
  "luminance": 0.52769
}

Semantic roles & 50–950 ramp

primary
#E2AFEA
secondary
#82C677
accent
#C61F36
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #E2AFEA

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

Preview Lab → · Contrast checker → · Palette generator →

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