#E2A6FA#E2A6FA

#E2A6FA is a light, vivid purple. Relative luminance 0.503; OKLCH L 81.0% C 0.131 H 316.0°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#E2A6FA
RGBrgb(226, 166, 250)
HSLhsl(283, 89%, 82%)
HSVhsv(283, 34%, 98%)
CMYKcmyk(9.6%, 33.6%, 0%, 2%)
CIE-LABlab(76.28, 36.46, -33.25)
CIE-LCHlch(76.28, 49.34, 317.64°)
OKLaboklab(81% 0.0944 -0.0911)
OKLCHoklch(81% 0.131 316)
XYZxyz(62.2530, 50.3446, 96.8620)
Luminance0.5034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A6FA #BEFAA6
analogous
#B8A6FA #E2A6FA #FAA6E8
triadic
#E2A6FA #FAE2A6 #A6FAE2
tetradic
#E2A6FA #FAB8A6 #BEFAA6 #A6E8FA
square
#E2A6FA #FAB8A6 #BEFAA6 #A6E8FA
split-complementary
#E2A6FA #E8FAA6 #A6FAB8
monochromatic
#BC32F3 #CF6CF7 #E2A6FA #F5E0FD #F6E2FD

Accessibility & contrast

On white

1.90
#E2A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#E2A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A6FA
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A6FA#FFFFFF#000000##000000
##E2A6FA1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB8FD
Deuteranopia (green-blind)
#A8BEF7
Tritanopia (blue-blind)
#E1B0C5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e2a6fa;
/* rgb */ color: rgb(226, 166, 250);
/* oklch */ color: oklch(81.0% 0.131 316.0);
Tailwind
colors: {
  custom: {
    50: '#ecc1fc',
    500: '#e2a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #e2a6fa;
$custom-light: #ecc1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a6fa",
  "rgb": {
    "r": 226,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 282.857,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81004,
    "c": 0.13118,
    "h": 316
  },
  "luminance": 0.50343
}

Semantic roles & 50–950 ramp

primary
#E2A6FA
secondary
#89DC68
accent
#E60042
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161217
muted
#858285

Preview Lab

Preview with #E2A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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