#E2AFE2#E2AFE2

#E2AFE2 is a light, moderate purple. Relative luminance 0.523; OKLCH L 81.6% C 0.090 H 326.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#E2AFE2
RGBrgb(226, 175, 226)
HSLhsl(300, 47%, 79%)
HSVhsv(300, 23%, 89%)
CMYKcmyk(0%, 22.6%, 0%, 11.4%)
CIE-LABlab(77.47, 27.02, -18.44)
CIE-LCHlch(77.47, 32.71, 325.68°)
OKLaboklab(81.63% 0.0746 -0.0496)
OKLCHoklch(81.63% 0.09 326.4)
XYZxyz(60.4200, 52.3213, 78.8530)
Luminance0.5232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFE2 #AFE2AF
analogous
#C8AFE2 #E2AFE2 #E2AFC8
triadic
#E2AFE2 #E2E2AF #AFE2E2
tetradic
#E2AFE2 #E2C8AF #AFE2AF #AFC8E2
square
#E2AFE2 #E2C8AF #AFE2AF #AFC8E2
split-complementary
#E2AFE2 #C8E2AF #AFE2C8
monochromatic
#C155C1 #D282D2 #E2AFE2 #F2DCF2 #F7E9F7

Accessibility & contrast

On white

1.83
#E2AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#E2AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFE2
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFE2#FFFFFF#000000##000000
##E2AFE21.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBBE4
Deuteranopia (green-blind)
#B7C2E0
Tritanopia (blue-blind)
#E5B3C1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2afe2;
/* rgb */ color: rgb(226, 175, 226);
/* oklch */ color: oklch(81.6% 0.090 326.4);
Tailwind
colors: {
  custom: {
    50: '#ebc7eb',
    500: '#e2afe2',
    950: '#000000',
  },
}
SCSS
$custom: #e2afe2;
$custom-light: #ebc7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afe2",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 300,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81633,
    "c": 0.08958,
    "h": 326.4
  },
  "luminance": 0.5232
}

Semantic roles & 50–950 ramp

primary
#E2AFE2
secondary
#7ABB7A
accent
#BA2B2B
background
#FEFDFE
surface
#FDF9FD
border
#D5D2D5
text
#161316
muted
#848284

Preview Lab

Preview with #E2AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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