#E2AFE4#E2AFE4

#E2AFE4 is a light, moderate purple. Relative luminance 0.524; OKLCH L 81.7% C 0.092 H 325.2°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#E2AFE4
RGBrgb(226, 175, 228)
HSLhsl(298, 50%, 79%)
HSVhsv(298, 23%, 89%)
CMYKcmyk(0.9%, 23.2%, 0%, 10.6%)
CIE-LABlab(77.54, 27.39, -19.43)
CIE-LCHlch(77.54, 33.58, 324.65°)
OKLaboklab(81.71% 0.0752 -0.0523)
OKLCHoklch(81.71% 0.092 325.2)
XYZxyz(60.6960, 52.4317, 80.3067)
Luminance0.5243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFE4 #B1E4AF
analogous
#C8AFE4 #E2AFE4 #E4AFCC
triadic
#E2AFE4 #E4E2AF #AFE4E2
tetradic
#E2AFE4 #E4C8AF #B1E4AF #AFCCE4
square
#E2AFE4 #E4C8AF #B1E4AF #AFCCE4
split-complementary
#E2AFE4 #CCE4AF #AFE4C8
monochromatic
#C153C5 #D181D5 #E2AFE4 #F3DDF3 #F7E8F7

Accessibility & contrast

On white

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

On black

11.49
#E2AFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFE4
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFE4#FFFFFF#000000##000000
##E2AFE41.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBCE6
Deuteranopia (green-blind)
#B7C2E2
Tritanopia (blue-blind)
#E5B4C1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2afe4;
/* rgb */ color: rgb(226, 175, 228);
/* oklch */ color: oklch(81.7% 0.092 325.2);
Tailwind
colors: {
  custom: {
    50: '#ebc7ec',
    500: '#e2afe4',
    950: '#000000',
  },
}
SCSS
$custom: #e2afe4;
$custom-light: #ebc7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afe4",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 297.736,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81705,
    "c": 0.09162,
    "h": 325.2
  },
  "luminance": 0.5243
}

Semantic roles & 50–950 ramp

primary
#E2AFE4
secondary
#7CBE79
accent
#BD292E
background
#FEFDFE
surface
#FDF9FD
border
#D5D2D5
text
#161316
muted
#848284

Preview Lab

Preview with #E2AFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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