#E2AFEB#E2AFEB

#E2AFEB is a light, moderate purple. Relative luminance 0.528; OKLCH L 82.0% C 0.099 H 321.3°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#E2AFEB
RGBrgb(226, 175, 235)
HSLhsl(291, 60%, 80%)
HSVhsv(291, 26%, 92%)
CMYKcmyk(3.8%, 25.5%, 0%, 7.8%)
CIE-LABlab(77.77, 28.71, -22.86)
CIE-LCHlch(77.77, 36.69, 321.47°)
OKLaboklab(81.96% 0.0773 -0.0619)
OKLCHoklch(81.96% 0.099 321.3)
XYZxyz(61.6875, 52.8283, 85.5284)
Luminance0.5283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFEB #B8EBAF
analogous
#C4AFEB #E2AFEB #EBAFD6
triadic
#E2AFEB #EBE2AF #AFEBE2
tetradic
#E2AFEB #EBC4AF #B8EBAF #AFD6EB
square
#E2AFEB #EBC4AF #B8EBAF #AFD6EB
split-complementary
#E2AFEB #D6EBAF #AFEBC4
monochromatic
#BF4DD3 #D07EDF #E2AFEB #F4E0F7 #F6E7F9

Accessibility & contrast

On white

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

On black

11.57
#E2AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFEB
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFEB#FFFFFF#000000##000000
##E2AFEB1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2afeb;
/* rgb */ color: rgb(226, 175, 235);
/* oklch */ color: oklch(82.0% 0.099 321.3);
Tailwind
colors: {
  custom: {
    50: '#ebc7f1',
    500: '#e2afeb',
    950: '#000000',
  },
}
SCSS
$custom: #e2afeb;
$custom-light: #ebc7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afeb",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 291,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.09901,
    "h": 321.3
  },
  "luminance": 0.52827
}

Semantic roles & 50–950 ramp

primary
#E2AFEB
secondary
#83C777
accent
#C81E37
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #E2AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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