#E2ABFB#E2ABFB

#E2ABFB is a light, vivid purple. Relative luminance 0.523; OKLCH L 81.9% C 0.124 H 314.9°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#E2ABFB
RGBrgb(226, 171, 251)
HSLhsl(281, 91%, 83%)
HSVhsv(281, 32%, 98%)
CMYKcmyk(10%, 31.9%, 0%, 1.6%)
CIE-LABlab(77.44, 33.98, -32.00)
CIE-LCHlch(77.44, 46.68, 316.72°)
OKLaboklab(81.9% 0.0874 -0.0876)
OKLCHoklch(81.9% 0.124 314.9)
XYZxyz(63.3368, 52.2608, 97.9989)
Luminance0.5226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ABFB #C4FBAB
analogous
#BAABFB #E2ABFB #FBABEC
triadic
#E2ABFB #FBE2AB #ABFBE2
tetradic
#E2ABFB #FBBAAB #C4FBAB #ABECFB
square
#E2ABFB #FBBAAB #C4FBAB #ABECFB
split-complementary
#E2ABFB #ECFBAB #ABFBBA
monochromatic
#BA36F5 #CE71F8 #E2ABFB #F5E2FE #F5E2FE

Accessibility & contrast

On white

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

On black

11.45
#E2ABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ABFB
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ABFB#FFFFFF#000000##000000
##E2ABFB1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2abfb;
/* rgb */ color: rgb(226, 171, 251);
/* oklch */ color: oklch(81.9% 0.124 314.9);
Tailwind
colors: {
  custom: {
    50: '#ecc4fd',
    500: '#e2abfb',
    950: '#000000',
  },
}
SCSS
$custom: #e2abfb;
$custom-light: #ecc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2abfb",
  "rgb": {
    "r": 226,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 281.25,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81895,
    "c": 0.12379,
    "h": 314.9
  },
  "luminance": 0.5226
}

Semantic roles & 50–950 ramp

primary
#E2ABFB
secondary
#90DE6C
accent
#E60048
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E2ABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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