#E4A2FC#E4A2FC

#E4A2FC is a light, vivid purple. Relative luminance 0.494; OKLCH L 80.6% C 0.141 H 316.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#E4A2FC
RGBrgb(228, 162, 252)
HSLhsl(284, 94%, 81%)
HSVhsv(284, 36%, 99%)
CMYKcmyk(9.5%, 35.7%, 0%, 1.2%)
CIE-LABlab(75.68, 39.59, -35.24)
CIE-LCHlch(75.68, 53.01, 318.33°)
OKLaboklab(80.62% 0.1028 -0.0967)
OKLCHoklch(80.62% 0.141 316.7)
XYZxyz(62.4834, 49.3644, 98.3134)
Luminance0.4936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4A2FC #BAFCA2
analogous
#B7A2FC #E4A2FC #FCA2E7
triadic
#E4A2FC #FCE4A2 #A2FCE4
tetradic
#E4A2FC #FCB7A2 #BAFCA2 #A2E7FC
square
#E4A2FC #FCB7A2 #BAFCA2 #A2E7FC
split-complementary
#E4A2FC #E7FCA2 #A2FCB7
monochromatic
#C22BF8 #D367FA #E4A2FC #F5DDFE #F6E1FE

Accessibility & contrast

On white

1.93
#E4A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#E4A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4A2FC
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4A2FC#FFFFFF#000000##000000
##E4A2FC1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FF
Deuteranopia (green-blind)
#A5BDF9
Tritanopia (blue-blind)
#E4ADC4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #e4a2fc;
/* rgb */ color: rgb(228, 162, 252);
/* oklch */ color: oklch(80.6% 0.141 316.7);
Tailwind
colors: {
  custom: {
    50: '#edbefd',
    500: '#e4a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #e4a2fc;
$custom-light: #edbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#e4a2fc",
  "rgb": {
    "r": 228,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 284,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80618,
    "c": 0.14118,
    "h": 316.7
  },
  "luminance": 0.49363
}

Semantic roles & 50–950 ramp

primary
#E4A2FC
secondary
#DEF6D5
accent
#E6003D
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #E4A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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