#E2AFF2#E2AFF2

#E2AFF2 is a very light, moderate purple. Relative luminance 0.532; OKLCH L 82.2% C 0.107 H 318.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#E2AFF2
RGBrgb(226, 175, 242)
HSLhsl(286, 72%, 82%)
HSVhsv(286, 28%, 95%)
CMYKcmyk(6.6%, 27.7%, 0%, 5.1%)
CIE-LABlab(78.02, 30.06, -26.26)
CIE-LCHlch(78.02, 39.91, 318.85°)
OKLaboklab(82.23% 0.0793 -0.0714)
OKLCHoklch(82.23% 0.107 318)
XYZxyz(62.7187, 53.2408, 90.9597)
Luminance0.5324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFF2 #BFF2AF
analogous
#C1AFF2 #E2AFF2 #F2AFE1
triadic
#E2AFF2 #F2E2AF #AFF2E2
tetradic
#E2AFF2 #F2C1AF #BFF2AF #AFE1F2
square
#E2AFF2 #F2C1AF #BFF2AF #AFE1F2
split-complementary
#E2AFF2 #E1F2AF #AFF2C1
monochromatic
#BC46E1 #CF7AE9 #E2AFF2 #F5E4FB #F5E5FB

Accessibility & contrast

On white

1.80
#E2AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#E2AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFF2
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFF2#FFFFFF#000000##000000
##E2AFF21.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BEF5
Deuteranopia (green-blind)
#B2C3F0
Tritanopia (blue-blind)
#E2B6C7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e2aff2;
/* rgb */ color: rgb(226, 175, 242);
/* oklch */ color: oklch(82.2% 0.107 318.0);
Tailwind
colors: {
  custom: {
    50: '#ebc7f6',
    500: '#e2aff2',
    950: '#000000',
  },
}
SCSS
$custom: #e2aff2;
$custom-light: #ebc7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2aff2",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 285.672,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.8223,
    "c": 0.10671,
    "h": 318
  },
  "luminance": 0.5324
}

Semantic roles & 50–950 ramp

primary
#E2AFF2
secondary
#8AD174
accent
#D41140
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #E2AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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