#E2A5FF#E2A5FF

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

Color values

HEX#E2A5FF
RGBrgb(226, 165, 255)
HSLhsl(281, 100%, 82%)
HSVhsv(281, 35%, 100%)
CMYKcmyk(11.4%, 35.3%, 0%, 0%)
CIE-LABlab(76.25, 38.00, -35.99)
CIE-LCHlch(76.25, 52.33, 316.56°)
OKLaboklab(81.05% 0.097 -0.0989)
OKLCHoklch(81.05% 0.139 314.4)
XYZxyz(62.8663, 50.3003, 100.9855)
Luminance0.5030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A5FF #C2FFA5
analogous
#B5A5FF #E2A5FF #FFA5EF
triadic
#E2A5FF #FFE2A5 #A5FFE2
tetradic
#E2A5FF #FFB5A5 #C2FFA5 #A5EFFF
square
#E2A5FF #FFB5A5 #C2FFA5 #A5EFFF
split-complementary
#E2A5FF #EFFFA5 #A5FFB5
monochromatic
#BB2BFF #CE68FF #E2A5FF #F5E0FF #F5E0FF

Accessibility & contrast

On white

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

On black

11.06
#E2A5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A5FF
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A5FF#FFFFFF#000000##000000
##E2A5FF1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#A5BEFC
Tritanopia (blue-blind)
#E0B1C6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e2a5ff;
/* rgb */ color: rgb(226, 165, 255);
/* oklch */ color: oklch(81.0% 0.139 314.4);
Tailwind
colors: {
  custom: {
    50: '#ecc0ff',
    500: '#e2a5ff',
    950: '#000000',
  },
}
SCSS
$custom: #e2a5ff;
$custom-light: #ecc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a5ff",
  "rgb": {
    "r": 226,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 280.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81047,
    "c": 0.13851,
    "h": 314.4
  },
  "luminance": 0.50299
}

Semantic roles & 50–950 ramp

primary
#E2A5FF
secondary
#8DE464
accent
#E6004A
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161218
muted
#858286

Preview Lab

Preview with #E2A5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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