#E7A2FA#E7A2FA

#E7A2FA is a light, vivid purple. Relative luminance 0.497; OKLCH L 80.8% C 0.141 H 318.8°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#E7A2FA
RGBrgb(231, 162, 250)
HSLhsl(287, 90%, 81%)
HSVhsv(287, 35%, 98%)
CMYKcmyk(7.6%, 35.2%, 0%, 2%)
CIE-LABlab(75.91, 40.10, -33.78)
CIE-LCHlch(75.91, 52.44, 319.89°)
OKLaboklab(80.83% 0.1058 -0.0925)
OKLCHoklch(80.83% 0.141 318.8)
XYZxyz(63.1283, 49.7334, 96.6980)
Luminance0.4973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7A2FA #B5FAA2
analogous
#BBA2FA #E7A2FA #FAA2E1
triadic
#E7A2FA #FAE7A2 #A2FAE7
tetradic
#E7A2FA #FABBA2 #B5FAA2 #A2E1FA
square
#E7A2FA #FABBA2 #B5FAA2 #A2E1FA
split-complementary
#E7A2FA #E1FAA2 #A2FABB
monochromatic
#C92EF4 #D868F7 #E7A2FA #F6DCFD #F8E2FD

Accessibility & contrast

On white

1.92
#E7A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#E7A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7A2FA
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7A2FA#FFFFFF#000000##000000
##E7A2FA1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#A7BEF7
Tritanopia (blue-blind)
#E8ACC3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #e7a2fa;
/* rgb */ color: rgb(231, 162, 250);
/* oklch */ color: oklch(80.8% 0.141 318.8);
Tailwind
colors: {
  custom: {
    50: '#f0befc',
    500: '#e7a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #e7a2fa;
$custom-light: #f0befc;
$custom-dark: #000000;
JSON
{
  "hex": "#e7a2fa",
  "rgb": {
    "r": 231,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 287.045,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80834,
    "c": 0.14052,
    "h": 318.8
  },
  "luminance": 0.49732
}

Semantic roles & 50–950 ramp

primary
#E7A2FA
secondary
#DCF6D5
accent
#E60032
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #E7A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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