#E7ABFE#E7ABFE

#E7ABFE is a very light, vivid purple. Relative luminance 0.533; OKLCH L 82.5% C 0.130 H 316.4°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#E7ABFE
RGBrgb(231, 171, 254)
HSLhsl(283, 98%, 83%)
HSVhsv(283, 33%, 100%)
CMYKcmyk(9.1%, 32.7%, 0%, 0.4%)
CIE-LABlab(78.04, 36.10, -32.65)
CIE-LCHlch(78.04, 48.68, 317.87°)
OKLaboklab(82.5% 0.0938 -0.0894)
OKLCHoklch(82.5% 0.13 316.4)
XYZxyz(65.4046, 53.2719, 100.5838)
Luminance0.5327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ABFE #C2FEAB
analogous
#BDABFE #E7ABFE #FEABEC
triadic
#E7ABFE #FEE7AB #ABFEE7
tetradic
#E7ABFE #FEBDAB #C2FEAB #ABECFE
square
#E7ABFE #FEBDAB #C2FEAB #ABECFE
split-complementary
#E7ABFE #ECFEAB #ABFEBD
monochromatic
#C432FD #D66FFD #E7ABFE #F6E1FF #F6E1FF

Accessibility & contrast

On white

1.80
#E7ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#E7ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ABFE
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ABFE#FFFFFF#000000##000000
##E7ABFE1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#ADC3FB
Tritanopia (blue-blind)
#E6B5C9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e7abfe;
/* rgb */ color: rgb(231, 171, 254);
/* oklch */ color: oklch(82.5% 0.130 316.4);
Tailwind
colors: {
  custom: {
    50: '#efc4ff',
    500: '#e7abfe',
    950: '#000000',
  },
}
SCSS
$custom: #e7abfe;
$custom-light: #efc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7abfe",
  "rgb": {
    "r": 231,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 283.373,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.82499,
    "c": 0.12957,
    "h": 316.4
  },
  "luminance": 0.53271
}

Semantic roles & 50–950 ramp

primary
#E7ABFE
secondary
#8CE36A
accent
#E60040
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E7ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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