#E7A8FA#E7A8FA

#E7A8FA is a light, vivid purple. Relative luminance 0.519; OKLCH L 81.8% C 0.130 H 318.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#E7A8FA
RGBrgb(231, 168, 250)
HSLhsl(286, 89%, 82%)
HSVhsv(286, 33%, 98%)
CMYKcmyk(7.6%, 32.8%, 0%, 2%)
CIE-LABlab(77.22, 36.92, -31.76)
CIE-LCHlch(77.22, 48.70, 319.30°)
OKLaboklab(81.83% 0.0971 -0.0868)
OKLCHoklch(81.83% 0.13 318.2)
XYZxyz(64.2105, 51.8979, 97.0587)
Luminance0.5190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7A8FA #BBFAA8
analogous
#BEA8FA #E7A8FA #FAA8E4
triadic
#E7A8FA #FAE7A8 #A8FAE7
tetradic
#E7A8FA #FABEA8 #BBFAA8 #A8E4FA
square
#E7A8FA #FABEA8 #BBFAA8 #A8E4FA
split-complementary
#E7A8FA #E4FAA8 #A8FABE
monochromatic
#C734F3 #D76EF7 #E7A8FA #F7E2FD #F7E2FD

Accessibility & contrast

On white

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

On black

11.38
#E7A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7A8FA
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7A8FA#FFFFFF#000000##000000
##E7A8FA1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFD
Deuteranopia (green-blind)
#ACC1F7
Tritanopia (blue-blind)
#E7B2C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e7a8fa;
/* rgb */ color: rgb(231, 168, 250);
/* oklch */ color: oklch(81.8% 0.130 318.2);
Tailwind
colors: {
  custom: {
    50: '#efc2fc',
    500: '#e7a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #e7a8fa;
$custom-light: #efc2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e7a8fa",
  "rgb": {
    "r": 231,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 286.098,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.8183,
    "c": 0.13027,
    "h": 318.2
  },
  "luminance": 0.51896
}

Semantic roles & 50–950 ramp

primary
#E7A8FA
secondary
#84DC6A
accent
#E60035
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161217
muted
#858285

Preview Lab

Preview with #E7A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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