#E8A7FA#E8A7FA

#E8A7FA is a light, vivid purple. Relative luminance 0.517; OKLCH L 81.8% C 0.133 H 318.8°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#E8A7FA
RGBrgb(232, 167, 250)
HSLhsl(287, 89%, 82%)
HSVhsv(287, 33%, 98%)
CMYKcmyk(7.2%, 33.2%, 0%, 2%)
CIE-LABlab(77.10, 37.75, -31.93)
CIE-LCHlch(77.10, 49.45, 319.77°)
OKLaboklab(81.76% 0.0997 -0.0873)
OKLCHoklch(81.76% 0.133 318.8)
XYZxyz(64.3504, 51.6970, 97.0126)
Luminance0.5170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A7FA #B9FAA7
analogous
#BFA7FA #E8A7FA #FAA7E3
triadic
#E8A7FA #FAE8A7 #A7FAE8
tetradic
#E8A7FA #FABFA7 #B9FAA7 #A7E3FA
square
#E8A7FA #FABFA7 #B9FAA7 #A7E3FA
split-complementary
#E8A7FA #E3FAA7 #A7FABF
monochromatic
#CA33F3 #D96DF7 #E8A7FA #F7E1FD #F7E2FD

Accessibility & contrast

On white

1.85
#E8A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#E8A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A7FA
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A7FA#FFFFFF#000000##000000
##E8A7FA1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBAFD
Deuteranopia (green-blind)
#ACC1F7
Tritanopia (blue-blind)
#E9B1C5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e8a7fa;
/* rgb */ color: rgb(232, 167, 250);
/* oklch */ color: oklch(81.8% 0.133 318.8);
Tailwind
colors: {
  custom: {
    50: '#f0c2fc',
    500: '#e8a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #e8a7fa;
$custom-light: #f0c2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a7fa",
  "rgb": {
    "r": 232,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 286.988,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81761,
    "c": 0.13251,
    "h": 318.8
  },
  "luminance": 0.51695
}

Semantic roles & 50–950 ramp

primary
#E8A7FA
secondary
#82DC69
accent
#E60032
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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