#E2A7FA#E2A7FA

#E2A7FA is a light, vivid purple. Relative luminance 0.507; OKLCH L 81.2% C 0.129 H 315.9°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#E2A7FA
RGBrgb(226, 167, 250)
HSLhsl(283, 89%, 82%)
HSVhsv(283, 33%, 98%)
CMYKcmyk(9.6%, 33.2%, 0%, 2%)
CIE-LABlab(76.50, 35.93, -32.90)
CIE-LCHlch(76.50, 48.72, 317.51°)
OKLaboklab(81.17% 0.0929 -0.0901)
OKLCHoklch(81.17% 0.129 315.9)
XYZxyz(62.4355, 50.7096, 96.9229)
Luminance0.5071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A7FA #BFFAA7
analogous
#B9A7FA #E2A7FA #FAA7E8
triadic
#E2A7FA #FAE2A7 #A7FAE2
tetradic
#E2A7FA #FAB9A7 #BFFAA7 #A7E8FA
square
#E2A7FA #FAB9A7 #BFFAA7 #A7E8FA
split-complementary
#E2A7FA #E8FAA7 #A7FAB9
monochromatic
#BC33F3 #CF6DF7 #E2A7FA #F5E1FD #F5E2FD

Accessibility & contrast

On white

1.88
#E2A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#E2A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A7FA
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A7FA#FFFFFF#000000##000000
##E2A7FA1.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#A8BFF7
Tritanopia (blue-blind)
#E1B1C5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2a7fa;
/* rgb */ color: rgb(226, 167, 250);
/* oklch */ color: oklch(81.2% 0.129 315.9);
Tailwind
colors: {
  custom: {
    50: '#ecc2fc',
    500: '#e2a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #e2a7fa;
$custom-light: #ecc2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a7fa",
  "rgb": {
    "r": 226,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 282.651,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81172,
    "c": 0.12948,
    "h": 315.9
  },
  "luminance": 0.50708
}

Semantic roles & 50–950 ramp

primary
#E2A7FA
secondary
#8ADC69
accent
#E60042
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161217
muted
#858285

Preview Lab

Preview with #E2A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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