#E7A2EA#E7A2EA

#E7A2EA is a light, vivid purple. Relative luminance 0.488; OKLCH L 80.2% C 0.124 H 325.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#E7A2EA
RGBrgb(231, 162, 234)
HSLhsl(298, 63%, 78%)
HSVhsv(298, 31%, 92%)
CMYKcmyk(1.3%, 30.8%, 0%, 8.2%)
CIE-LABlab(75.31, 37.06, -26.03)
CIE-LCHlch(75.31, 45.29, 324.92°)
OKLaboklab(80.19% 0.1018 -0.0706)
OKLCHoklch(80.19% 0.124 325.2)
XYZxyz(60.7251, 48.7721, 84.0411)
Luminance0.4877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7A2EA #A5EAA2
analogous
#C3A2EA #E7A2EA #EAA2C9
triadic
#E7A2EA #EAE7A2 #A2EAE7
tetradic
#E7A2EA #EAC3A2 #A5EAA2 #A2C9EA
square
#E7A2EA #EAC3A2 #A5EAA2 #A2C9EA
split-complementary
#E7A2EA #C9EAA2 #A2EAC3
monochromatic
#CD3ED3 #DA70DF #E7A2EA #F4D4F5 #F9E6F9

Accessibility & contrast

On white

1.95
#E7A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#E7A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7A2EA
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7A2EA#FFFFFF#000000##000000
##E7A2EA1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB4ED
Deuteranopia (green-blind)
#ADBCE8
Tritanopia (blue-blind)
#EBA9BC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #e7a2ea;
/* rgb */ color: rgb(231, 162, 234);
/* oklch */ color: oklch(80.2% 0.124 325.2);
Tailwind
colors: {
  custom: {
    50: '#efbef1',
    500: '#e7a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #e7a2ea;
$custom-light: #efbef1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7a2ea",
  "rgb": {
    "r": 231,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 297.5,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.80186,
    "c": 0.12388,
    "h": 325.2
  },
  "luminance": 0.4877
}

Semantic roles & 50–950 ramp

primary
#E7A2EA
secondary
#DBF1DA
accent
#CB1B22
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #E7A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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