#E2A2FC#E2A2FC

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

Color values

HEX#E2A2FC
RGBrgb(226, 162, 252)
HSLhsl(283, 94%, 81%)
HSVhsv(283, 36%, 99%)
CMYKcmyk(10.3%, 35.7%, 0%, 1.2%)
CIE-LABlab(75.48, 39.00, -35.57)
CIE-LCHlch(75.48, 52.78, 317.63°)
OKLaboklab(80.42% 0.1006 -0.0977)
OKLCHoklch(80.42% 0.14 315.8)
XYZxyz(61.8524, 49.0391, 98.2838)
Luminance0.4904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2A2FC #BCFCA2
analogous
#B5A2FC #E2A2FC #FCA2E9
triadic
#E2A2FC #FCE2A2 #A2FCE2
tetradic
#E2A2FC #FCB5A2 #BCFCA2 #A2E9FC
square
#E2A2FC #FCB5A2 #BCFCA2 #A2E9FC
split-complementary
#E2A2FC #E9FCA2 #A2FCB5
monochromatic
#BD2BF8 #D067FA #E2A2FC #F4DDFE #F6E1FE

Accessibility & contrast

On white

1.94
#E2A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#E2A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2A2FC
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2A2FC#FFFFFF#000000##000000
##E2A2FC1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B6FF
Deuteranopia (green-blind)
#A3BCF9
Tritanopia (blue-blind)
#E1ADC4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e2a2fc;
/* rgb */ color: rgb(226, 162, 252);
/* oklch */ color: oklch(80.4% 0.140 315.8);
Tailwind
colors: {
  custom: {
    50: '#ecbefd',
    500: '#e2a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #e2a2fc;
$custom-light: #ecbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2a2fc",
  "rgb": {
    "r": 226,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 282.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80419,
    "c": 0.14021,
    "h": 315.8
  },
  "luminance": 0.49038
}

Semantic roles & 50–950 ramp

primary
#E2A2FC
secondary
#DEF6D5
accent
#E60042
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #E2A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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