#E2A8FA#E2A8FA

#E2A8FA is a light, vivid purple. Relative luminance 0.511; OKLCH L 81.3% C 0.128 H 315.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#E2A8FA
RGBrgb(226, 168, 250)
HSLhsl(282, 89%, 82%)
HSVhsv(282, 33%, 98%)
CMYKcmyk(9.6%, 32.8%, 0%, 2%)
CIE-LABlab(76.73, 35.39, -32.56)
CIE-LCHlch(76.73, 48.09, 317.39°)
OKLaboklab(81.34% 0.0915 -0.0892)
OKLCHoklch(81.34% 0.128 315.7)
XYZxyz(62.6194, 51.0774, 96.9842)
Luminance0.5108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A8FA #C0FAA8
analogous
#B9A8FA #E2A8FA #FAA8E9
triadic
#E2A8FA #FAE2A8 #A8FAE2
tetradic
#E2A8FA #FAB9A8 #C0FAA8 #A8E9FA
square
#E2A8FA #FAB9A8 #C0FAA8 #A8E9FA
split-complementary
#E2A8FA #E9FAA8 #A8FAB9
monochromatic
#BB34F3 #CF6EF7 #E2A8FA #F5E2FD #F5E2FD

Accessibility & contrast

On white

1.87
#E2A8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#E2A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A8FA
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A8FA#FFFFFF#000000##000000
##E2A8FA1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBAFD
Deuteranopia (green-blind)
#A9BFF7
Tritanopia (blue-blind)
#E1B2C6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2a8fa;
/* rgb */ color: rgb(226, 168, 250);
/* oklch */ color: oklch(81.3% 0.128 315.7);
Tailwind
colors: {
  custom: {
    50: '#ecc2fc',
    500: '#e2a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #e2a8fa;
$custom-light: #ecc2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a8fa",
  "rgb": {
    "r": 226,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 282.439,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81342,
    "c": 0.12777,
    "h": 315.7
  },
  "luminance": 0.51076
}

Semantic roles & 50–950 ramp

primary
#E2A8FA
secondary
#8BDC6A
accent
#E60043
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161217
muted
#858285

Preview Lab

Preview with #E2A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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