#E7A4FA#E7A4FA

#E7A4FA is a light, vivid purple. Relative luminance 0.504; OKLCH L 81.2% C 0.137 H 318.6°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#E7A4FA
RGBrgb(231, 164, 250)
HSLhsl(287, 90%, 81%)
HSVhsv(287, 34%, 98%)
CMYKcmyk(7.6%, 34.4%, 0%, 2%)
CIE-LABlab(76.34, 39.04, -33.11)
CIE-LCHlch(76.34, 51.19, 319.70°)
OKLaboklab(81.16% 0.1029 -0.0906)
OKLCHoklch(81.16% 0.137 318.6)
XYZxyz(63.4834, 50.4436, 96.8164)
Luminance0.5044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7A4FA #B7FAA4
analogous
#BCA4FA #E7A4FA #FAA4E2
triadic
#E7A4FA #FAE7A4 #A4FAE7
tetradic
#E7A4FA #FABCA4 #B7FAA4 #A4E2FA
square
#E7A4FA #FABCA4 #B7FAA4 #A4E2FA
split-complementary
#E7A4FA #E2FAA4 #A4FABC
monochromatic
#C830F4 #D86AF7 #E7A4FA #F6DEFD #F7E2FD

Accessibility & contrast

On white

1.89
#E7A4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#E7A4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7A4FA
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7A4FA#FFFFFF#000000##000000
##E7A4FA1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FD
Deuteranopia (green-blind)
#A9BFF7
Tritanopia (blue-blind)
#E8AEC4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e7a4fa;
/* rgb */ color: rgb(231, 164, 250);
/* oklch */ color: oklch(81.2% 0.137 318.6);
Tailwind
colors: {
  custom: {
    50: '#efc0fc',
    500: '#e7a4fa',
    950: '#000000',
  },
}
SCSS
$custom: #e7a4fa;
$custom-light: #efc0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e7a4fa",
  "rgb": {
    "r": 231,
    "g": 164,
    "b": 250
  },
  "hsl": {
    "h": 286.744,
    "s": 89.583,
    "l": 81.176
  },
  "oklch": {
    "l": 0.81163,
    "c": 0.13711,
    "h": 318.6
  },
  "luminance": 0.50442
}

Semantic roles & 50–950 ramp

primary
#E7A4FA
secondary
#80DC66
accent
#E60033
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E7A4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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