#E8A2FC#E8A2FC

#E8A2FC is a light, vivid purple. Relative luminance 0.500; OKLCH L 81.0% C 0.143 H 318.6°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#E8A2FC
RGBrgb(232, 162, 252)
HSLhsl(287, 94%, 81%)
HSVhsv(287, 36%, 99%)
CMYKcmyk(7.9%, 35.7%, 0%, 1.2%)
CIE-LABlab(76.09, 40.79, -34.58)
CIE-LCHlch(76.09, 53.48, 319.71°)
OKLaboklab(81.02% 0.1073 -0.0948)
OKLCHoklch(81.02% 0.143 318.6)
XYZxyz(63.7673, 50.0265, 98.3735)
Luminance0.5002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A2FC #B6FCA2
analogous
#BBA2FC #E8A2FC #FCA2E3
triadic
#E8A2FC #FCE8A2 #A2FCE8
tetradic
#E8A2FC #FCBBA2 #B6FCA2 #A2E3FC
square
#E8A2FC #FCBBA2 #B6FCA2 #A2E3FC
split-complementary
#E8A2FC #E3FCA2 #A2FCBB
monochromatic
#CB2BF8 #D967FA #E8A2FC #F7DDFE #F8E1FE

Accessibility & contrast

On white

1.91
#E8A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#E8A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A2FC
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A2FC#FFFFFF#000000##000000
##E8A2FC1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FF
Deuteranopia (green-blind)
#A7BEF9
Tritanopia (blue-blind)
#E9ADC4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e8a2fc;
/* rgb */ color: rgb(232, 162, 252);
/* oklch */ color: oklch(81.0% 0.143 318.6);
Tailwind
colors: {
  custom: {
    50: '#f0befd',
    500: '#e8a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #e8a2fc;
$custom-light: #f0befd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a2fc",
  "rgb": {
    "r": 232,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 286.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.81019,
    "c": 0.1432,
    "h": 318.6
  },
  "luminance": 0.50025
}

Semantic roles & 50–950 ramp

primary
#E8A2FC
secondary
#7FDF63
accent
#E60033
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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