#E7ABFA#E7ABFA

#E7ABFA is a very light, vivid purple. Relative luminance 0.530; OKLCH L 82.3% C 0.125 H 317.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#E7ABFA
RGBrgb(231, 171, 250)
HSLhsl(286, 89%, 83%)
HSVhsv(286, 32%, 98%)
CMYKcmyk(7.6%, 31.6%, 0%, 2%)
CIE-LABlab(77.89, 35.32, -30.73)
CIE-LCHlch(77.89, 46.82, 318.97°)
OKLaboklab(82.34% 0.0928 -0.0839)
OKLCHoklch(82.34% 0.125 317.9)
XYZxyz(64.7708, 53.0184, 97.2455)
Luminance0.5302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ABFA #BEFAAB
analogous
#C0ABFA #E7ABFA #FAABE5
triadic
#E7ABFA #FAE7AB #ABFAE7
tetradic
#E7ABFA #FAC0AB #BEFAAB #ABE5FA
square
#E7ABFA #FAC0AB #BEFAAB #ABE5FA
split-complementary
#E7ABFA #E5FAAB #ABFAC0
monochromatic
#C637F3 #D671F7 #E7ABFA #F7E2FD #F7E2FD

Accessibility & contrast

On white

1.81
#E7ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#E7ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ABFA
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ABFA#FFFFFF#000000##000000
##E7ABFA1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BDFD
Deuteranopia (green-blind)
#AFC3F7
Tritanopia (blue-blind)
#E7B4C8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e7abfa;
/* rgb */ color: rgb(231, 171, 250);
/* oklch */ color: oklch(82.3% 0.125 317.9);
Tailwind
colors: {
  custom: {
    50: '#efc4fc',
    500: '#e7abfa',
    950: '#000000',
  },
}
SCSS
$custom: #e7abfa;
$custom-light: #efc4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e7abfa",
  "rgb": {
    "r": 231,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 285.57,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.82336,
    "c": 0.12512,
    "h": 317.9
  },
  "luminance": 0.53017
}

Semantic roles & 50–950 ramp

primary
#E7ABFA
secondary
#87DD6C
accent
#E50037
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E7ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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