#E2ABFC#E2ABFC

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

Color values

HEX#E2ABFC
RGBrgb(226, 171, 252)
HSLhsl(281, 93%, 83%)
HSVhsv(281, 32%, 99%)
CMYKcmyk(10.3%, 32.1%, 0%, 1.2%)
CIE-LABlab(77.47, 34.18, -32.48)
CIE-LCHlch(77.47, 47.16, 316.46°)
OKLaboklab(81.94% 0.0877 -0.089)
OKLCHoklch(81.94% 0.125 314.6)
XYZxyz(63.4949, 52.3240, 98.8313)
Luminance0.5232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ABFC #C5FCAB
analogous
#B9ABFC #E2ABFC #FCABED
triadic
#E2ABFC #FCE2AB #ABFCE2
tetradic
#E2ABFC #FCB9AB #C5FCAB #ABEDFC
square
#E2ABFC #FCB9AB #C5FCAB #ABEDFC
split-complementary
#E2ABFC #EDFCAB #ABFCB9
monochromatic
#B935F8 #CE70FA #E2ABFC #F5E1FE #F5E1FE

Accessibility & contrast

On white

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

On black

11.46
#E2ABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ABFC
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ABFC#FFFFFF#000000##000000
##E2ABFC1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFF
Deuteranopia (green-blind)
#ABC1FA
Tritanopia (blue-blind)
#E1B5C9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2abfc;
/* rgb */ color: rgb(226, 171, 252);
/* oklch */ color: oklch(81.9% 0.125 314.6);
Tailwind
colors: {
  custom: {
    50: '#ecc4fd',
    500: '#e2abfc',
    950: '#000000',
  },
}
SCSS
$custom: #e2abfc;
$custom-light: #ecc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2abfc",
  "rgb": {
    "r": 226,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 280.741,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81936,
    "c": 0.12493,
    "h": 314.6
  },
  "luminance": 0.52323
}

Semantic roles & 50–950 ramp

primary
#E2ABFC
secondary
#91E06B
accent
#E6004A
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E2ABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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