#E2A2FB#E2A2FB

#E2A2FB is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.4% C 0.139 H 316.2°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#E2A2FB
RGBrgb(226, 162, 251)
HSLhsl(283, 92%, 81%)
HSVhsv(283, 35%, 98%)
CMYKcmyk(10%, 35.5%, 0%, 1.6%)
CIE-LABlab(75.44, 38.80, -35.09)
CIE-LCHlch(75.44, 52.31, 317.87°)
OKLaboklab(80.38% 0.1003 -0.0963)
OKLCHoklch(80.38% 0.139 316.2)
XYZxyz(61.6943, 48.9759, 97.4514)
Luminance0.4897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A2FB #BBFBA2
analogous
#B5A2FB #E2A2FB #FBA2E7
triadic
#E2A2FB #FBE2A2 #A2FBE2
tetradic
#E2A2FB #FBB5A2 #BBFBA2 #A2E7FB
square
#E2A2FB #FBB5A2 #BBFBA2 #A2E7FB
split-complementary
#E2A2FB #E7FBA2 #A2FBB5
monochromatic
#BD2DF6 #D067F8 #E2A2FB #F4DDFE #F6E2FE

Accessibility & contrast

On white

1.95
#E2A2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#E2A2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A2FB
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A2FB#FFFFFF#000000##000000
##E2A2FB1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FE
Deuteranopia (green-blind)
#A4BCF8
Tritanopia (blue-blind)
#E1ADC3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2a2fb;
/* rgb */ color: rgb(226, 162, 251);
/* oklch */ color: oklch(80.4% 0.139 316.2);
Tailwind
colors: {
  custom: {
    50: '#ecbefd',
    500: '#e2a2fb',
    950: '#000000',
  },
}
SCSS
$custom: #e2a2fb;
$custom-light: #ecbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a2fb",
  "rgb": {
    "r": 226,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 283.146,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.80376,
    "c": 0.1391,
    "h": 316.2
  },
  "luminance": 0.48974
}

Semantic roles & 50–950 ramp

primary
#E2A2FB
secondary
#DEF6D5
accent
#E60040
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #E2A2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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