#E2AFEF#E2AFEF

#E2AFEF is a very light, moderate purple. Relative luminance 0.531; OKLCH L 82.1% C 0.103 H 319.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#E2AFEF
RGBrgb(226, 175, 239)
HSLhsl(288, 67%, 81%)
HSVhsv(288, 27%, 94%)
CMYKcmyk(5.4%, 26.8%, 0%, 6.3%)
CIE-LABlab(77.91, 29.47, -24.81)
CIE-LCHlch(77.91, 38.52, 319.91°)
OKLaboklab(82.11% 0.0784 -0.0673)
OKLCHoklch(82.11% 0.103 319.3)
XYZxyz(62.2719, 53.0620, 88.6062)
Luminance0.5306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFEF #BCEFAF
analogous
#C2AFEF #E2AFEF #EFAFDC
triadic
#E2AFEF #EFE2AF #AFEFE2
tetradic
#E2AFEF #EFC2AF #BCEFAF #AFDCEF
square
#E2AFEF #EFC2AF #BCEFAF #AFDCEF
split-complementary
#E2AFEF #DCEFAF #AFEFC2
monochromatic
#BD49DB #D07CE5 #E2AFEF #F4E2F9 #F6E5FA

Accessibility & contrast

On white

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

On black

11.61
#E2AFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFEF
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFEF#FFFFFF#000000##000000
##E2AFEF1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BDF2
Deuteranopia (green-blind)
#B3C2ED
Tritanopia (blue-blind)
#E3B6C6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e2afef;
/* rgb */ color: rgb(226, 175, 239);
/* oklch */ color: oklch(82.1% 0.103 319.3);
Tailwind
colors: {
  custom: {
    50: '#ebc7f4',
    500: '#e2afef',
    950: '#000000',
  },
}
SCSS
$custom: #e2afef;
$custom-light: #ebc7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afef",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 287.813,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.82114,
    "c": 0.10338,
    "h": 319.3
  },
  "luminance": 0.53061
}

Semantic roles & 50–950 ramp

primary
#E2AFEF
secondary
#87CD75
accent
#CF173C
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #E2AFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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