#E2ABEF#E2ABEF

#E2ABEF is a light, moderate purple. Relative luminance 0.515; OKLCH L 81.4% C 0.110 H 319.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#E2ABEF
RGBrgb(226, 171, 239)
HSLhsl(289, 68%, 80%)
HSVhsv(289, 28%, 94%)
CMYKcmyk(5.4%, 28.5%, 0%, 6.3%)
CIE-LABlab(77.00, 31.62, -26.20)
CIE-LCHlch(77.00, 41.07, 320.35°)
OKLaboklab(81.42% 0.0843 -0.0712)
OKLCHoklch(81.42% 0.11 319.8)
XYZxyz(61.5048, 51.5280, 88.3506)
Luminance0.5153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ABEF #B8EFAB
analogous
#C0ABEF #E2ABEF #EFABDA
triadic
#E2ABEF #EFE2AB #ABEFE2
tetradic
#E2ABEF #EFC0AB #B8EFAB #ABDAEF
square
#E2ABEF #EFC0AB #B8EFAB #ABDAEF
split-complementary
#E2ABEF #DAEFAB #ABEFC0
monochromatic
#BF44DB #D078E5 #E2ABEF #F4DEF9 #F6E5FA

Accessibility & contrast

On white

1.86
#E2ABEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#E2ABEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ABEF
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ABEF#FFFFFF#000000##000000
##E2ABEF1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BAF2
Deuteranopia (green-blind)
#B0C0ED
Tritanopia (blue-blind)
#E3B2C3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e2abef;
/* rgb */ color: rgb(226, 171, 239);
/* oklch */ color: oklch(81.4% 0.110 319.8);
Tailwind
colors: {
  custom: {
    50: '#ecc4f4',
    500: '#e2abef',
    950: '#000000',
  },
}
SCSS
$custom: #e2abef;
$custom-light: #ecc4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2abef",
  "rgb": {
    "r": 226,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 288.529,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81416,
    "c": 0.11036,
    "h": 319.8
  },
  "luminance": 0.51527
}

Semantic roles & 50–950 ramp

primary
#E2ABEF
secondary
#83CD71
accent
#D01639
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #E2ABEF

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

Preview Lab → · Contrast checker → · Palette generator →

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