#E2AFFA#E2AFFA

#E2AFFA is a very light, moderate purple. Relative luminance 0.537; OKLCH L 82.5% C 0.116 H 314.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#E2AFFA
RGBrgb(226, 175, 250)
HSLhsl(281, 88%, 83%)
HSVhsv(281, 30%, 98%)
CMYKcmyk(9.6%, 30%, 0%, 2%)
CIE-LABlab(78.31, 31.64, -30.13)
CIE-LCHlch(78.31, 43.69, 316.40°)
OKLaboklab(82.55% 0.0814 -0.0823)
OKLCHoklch(82.55% 0.116 314.7)
XYZxyz(63.9466, 53.7319, 97.4266)
Luminance0.5373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFFA #C7FAAF
analogous
#BCAFFA #E2AFFA #FAAFEC
triadic
#E2AFFA #FAE2AF #AFFAE2
tetradic
#E2AFFA #FABCAF #C7FAAF #AFECFA
square
#E2AFFA #FABCAF #C7FAAF #AFECFA
split-complementary
#E2AFFA #ECFAAF #AFFABC
monochromatic
#B83CF3 #CD75F6 #E2AFFA #F5E2FD #F5E2FD

Accessibility & contrast

On white

1.79
#E2AFFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#E2AFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFFA
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFFA#FFFFFF#000000##000000
##E2AFFA1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFD
Deuteranopia (green-blind)
#AFC3F8
Tritanopia (blue-blind)
#E1B8CA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2affa;
/* rgb */ color: rgb(226, 175, 250);
/* oklch */ color: oklch(82.5% 0.116 314.7);
Tailwind
colors: {
  custom: {
    50: '#ecc7fc',
    500: '#e2affa',
    950: '#000000',
  },
}
SCSS
$custom: #e2affa;
$custom-light: #ecc7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2affa",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 280.8,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.82545,
    "c": 0.1158,
    "h": 314.7
  },
  "luminance": 0.53731
}

Semantic roles & 50–950 ramp

primary
#E2AFFA
secondary
#93DD70
accent
#E5014A
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E2AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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