#E2A7EA#E2A7EA

#E2A7EA is a light, moderate purple. Relative luminance 0.497; OKLCH L 80.5% C 0.112 H 322.5°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#E2A7EA
RGBrgb(226, 167, 234)
HSLhsl(293, 61%, 79%)
HSVhsv(293, 29%, 92%)
CMYKcmyk(3.4%, 28.6%, 0%, 8.2%)
CIE-LABlab(75.91, 32.81, -25.15)
CIE-LCHlch(75.91, 41.34, 322.53°)
OKLaboklab(80.53% 0.0888 -0.0682)
OKLCHoklch(80.53% 0.112 322.5)
XYZxyz(60.0323, 49.7483, 84.2660)
Luminance0.4975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A7EA #AFEAA7
analogous
#C0A7EA #E2A7EA #EAA7D0
triadic
#E2A7EA #EAE2A7 #A7EAE2
tetradic
#E2A7EA #EAC0A7 #AFEAA7 #A7D0EA
square
#E2A7EA #EAC0A7 #AFEAA7 #A7D0EA
split-complementary
#E2A7EA #D0EAA7 #A7EAC0
monochromatic
#C144D2 #D276DE #E2A7EA #F2D8F6 #F7E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2A7EA#FFFFFF#000000##000000
##E2A7EA1.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)
#A1B7ED
Deuteranopia (green-blind)
#AEBEE8
Tritanopia (blue-blind)
#E4AEBF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #e2a7ea;
/* rgb */ color: rgb(226, 167, 234);
/* oklch */ color: oklch(80.5% 0.112 322.5);
Tailwind
colors: {
  custom: {
    50: '#ecc1f1',
    500: '#e2a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #e2a7ea;
$custom-light: #ecc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a7ea",
  "rgb": {
    "r": 226,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 292.836,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80531,
    "c": 0.11199,
    "h": 322.5
  },
  "luminance": 0.49747
}

Semantic roles & 50–950 ramp

primary
#E2A7EA
secondary
#DDF0DB
accent
#C91C31
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #E2A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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