#E7ABFF#E7ABFF

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

Color values

HEX#E7ABFF
RGBrgb(231, 171, 255)
HSLhsl(283, 100%, 84%)
HSVhsv(283, 33%, 100%)
CMYKcmyk(9.4%, 32.9%, 0%, 0%)
CIE-LABlab(78.07, 36.30, -33.13)
CIE-LCHlch(78.07, 49.15, 317.61°)
OKLaboklab(82.54% 0.094 -0.0907)
OKLCHoklch(82.54% 0.131 316)
XYZxyz(65.5652, 53.3361, 101.4294)
Luminance0.5333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ABFF #C3FFAB
analogous
#BDABFF #E7ABFF #FFABED
triadic
#E7ABFF #FFE7AB #ABFFE7
tetradic
#E7ABFF #FFBDAB #C3FFAB #ABEDFF
square
#E7ABFF #FFBDAB #C3FFAB #ABEDFF
split-complementary
#E7ABFF #EDFFAB #ABFFBD
monochromatic
#C431FF #D66EFF #E7ABFF #F6E0FF #F6E0FF

Accessibility & contrast

On white

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

On black

11.67
#E7ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ABFF
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ABFF#FFFFFF#000000##000000
##E7ABFF1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7abff;
/* rgb */ color: rgb(231, 171, 255);
/* oklch */ color: oklch(82.5% 0.131 316.0);
Tailwind
colors: {
  custom: {
    50: '#efc4ff',
    500: '#e7abff',
    950: '#000000',
  },
}
SCSS
$custom: #e7abff;
$custom-light: #efc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7abff",
  "rgb": {
    "r": 231,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 282.857,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.8254,
    "c": 0.13068,
    "h": 316
  },
  "luminance": 0.53335
}

Semantic roles & 50–950 ramp

primary
#E7ABFF
secondary
#8DE56A
accent
#E60042
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E7ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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