#E1AFEB#E1AFEB

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

Color values

HEX#E1AFEB
RGBrgb(225, 175, 235)
HSLhsl(290, 60%, 80%)
HSVhsv(290, 26%, 92%)
CMYKcmyk(4.3%, 25.5%, 0%, 7.8%)
CIE-LABlab(77.68, 28.38, -23.01)
CIE-LCHlch(77.68, 36.54, 320.97°)
OKLaboklab(81.87% 0.0762 -0.0623)
OKLCHoklch(81.87% 0.098 320.7)
XYZxyz(61.3747, 52.6670, 85.5138)
Luminance0.5267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1AFEB #B9EBAF
analogous
#C3AFEB #E1AFEB #EBAFD7
triadic
#E1AFEB #EBE1AF #AFEBE1
tetradic
#E1AFEB #EBC3AF #B9EBAF #AFD7EB
square
#E1AFEB #EBC3AF #B9EBAF #AFD7EB
split-complementary
#E1AFEB #D7EBAF #AFEBC3
monochromatic
#BC4DD3 #CF7EDF #E1AFEB #F3E0F7 #F6E7F9

Accessibility & contrast

On white

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

On black

11.53
#E1AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1AFEB
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1AFEB#FFFFFF#000000##000000
##E1AFEB1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1afeb;
/* rgb */ color: rgb(225, 175, 235);
/* oklch */ color: oklch(81.9% 0.098 320.7);
Tailwind
colors: {
  custom: {
    50: '#ebc7f1',
    500: '#e1afeb',
    950: '#000000',
  },
}
SCSS
$custom: #e1afeb;
$custom-light: #ebc7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e1afeb",
  "rgb": {
    "r": 225,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 290,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81868,
    "c": 0.09842,
    "h": 320.7
  },
  "luminance": 0.52666
}

Semantic roles & 50–950 ramp

primary
#E1AFEB
secondary
#84C777
accent
#C81E3A
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #E1AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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