#E2AFEE#E2AFEE

#E2AFEE is a very light, moderate purple. Relative luminance 0.530; OKLCH L 82.1% C 0.102 H 319.8°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#E2AFEE
RGBrgb(226, 175, 238)
HSLhsl(289, 65%, 81%)
HSVhsv(289, 26%, 93%)
CMYKcmyk(5%, 26.5%, 0%, 6.7%)
CIE-LABlab(77.88, 29.28, -24.32)
CIE-LCHlch(77.88, 38.06, 320.29°)
OKLaboklab(82.08% 0.0781 -0.066)
OKLCHoklch(82.08% 0.102 319.8)
XYZxyz(62.1245, 53.0031, 87.8303)
Luminance0.5300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFEE #BBEEAF
analogous
#C2AFEE #E2AFEE #EEAFDA
triadic
#E2AFEE #EEE2AF #AFEEE2
tetradic
#E2AFEE #EEC2AF #BBEEAF #AFDAEE
square
#E2AFEE #EEC2AF #BBEEAF #AFDAEE
split-complementary
#E2AFEE #DAEEAF #AFEEC2
monochromatic
#BD4AD9 #D07DE3 #E2AFEE #F4E1F9 #F6E6FA

Accessibility & contrast

On white

1.81
#E2AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#E2AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFEE
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFEE#FFFFFF#000000##000000
##E2AFEE1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BDF1
Deuteranopia (green-blind)
#B3C2EC
Tritanopia (blue-blind)
#E3B6C5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2afee;
/* rgb */ color: rgb(226, 175, 238);
/* oklch */ color: oklch(82.1% 0.102 319.8);
Tailwind
colors: {
  custom: {
    50: '#ebc7f3',
    500: '#e2afee',
    950: '#000000',
  },
}
SCSS
$custom: #e2afee;
$custom-light: #ebc7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afee",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 288.571,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.82076,
    "c": 0.10228,
    "h": 319.8
  },
  "luminance": 0.53002
}

Semantic roles & 50–950 ramp

primary
#E2AFEE
secondary
#86CC76
accent
#CD193B
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #E2AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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