#E2ABFA#E2ABFA

#E2ABFA is a light, vivid purple. Relative luminance 0.522; OKLCH L 81.9% C 0.123 H 315.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#E2ABFA
RGBrgb(226, 171, 250)
HSLhsl(282, 89%, 83%)
HSVhsv(282, 32%, 98%)
CMYKcmyk(9.6%, 31.6%, 0%, 2%)
CIE-LABlab(77.40, 33.78, -31.52)
CIE-LCHlch(77.40, 46.21, 316.98°)
OKLaboklab(81.85% 0.0872 -0.0863)
OKLCHoklch(81.85% 0.123 315.3)
XYZxyz(63.1796, 52.1979, 97.1709)
Luminance0.5220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ABFA #C3FAAB
analogous
#BAABFA #E2ABFA #FAABEB
triadic
#E2ABFA #FAE2AB #ABFAE2
tetradic
#E2ABFA #FABAAB #C3FAAB #ABEBFA
square
#E2ABFA #FABAAB #C3FAAB #ABEBFA
split-complementary
#E2ABFA #EBFAAB #ABFABA
monochromatic
#BA37F3 #CE71F7 #E2ABFA #F5E2FD #F5E2FD

Accessibility & contrast

On white

1.84
#E2ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#E2ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ABFA
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ABFA#FFFFFF#000000##000000
##E2ABFA1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFD
Deuteranopia (green-blind)
#ACC1F8
Tritanopia (blue-blind)
#E1B5C8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2abfa;
/* rgb */ color: rgb(226, 171, 250);
/* oklch */ color: oklch(81.9% 0.123 315.3);
Tailwind
colors: {
  custom: {
    50: '#ecc4fc',
    500: '#e2abfa',
    950: '#000000',
  },
}
SCSS
$custom: #e2abfa;
$custom-light: #ecc4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2abfa",
  "rgb": {
    "r": 226,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 281.772,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81854,
    "c": 0.12265,
    "h": 315.3
  },
  "luminance": 0.52197
}

Semantic roles & 50–950 ramp

primary
#E2ABFA
secondary
#8FDD6C
accent
#E50046
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E2ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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