#E8A7FF#E8A7FF

#E8A7FF is a light, vivid purple. Relative luminance 0.520; OKLCH L 82.0% C 0.138 H 317.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#E8A7FF
RGBrgb(232, 167, 255)
HSLhsl(284, 100%, 83%)
HSVhsv(284, 35%, 100%)
CMYKcmyk(9%, 34.5%, 0%, 0%)
CIE-LABlab(77.29, 38.73, -34.33)
CIE-LCHlch(77.29, 51.76, 318.44°)
OKLaboklab(81.97% 0.1009 -0.0941)
OKLCHoklch(81.97% 0.138 317)
XYZxyz(65.1448, 52.0148, 101.1965)
Luminance0.5201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A7FF #BEFFA7
analogous
#BCA7FF #E8A7FF #FFA7EA
triadic
#E8A7FF #FFE8A7 #A7FFE8
tetradic
#E8A7FF #FFBCA7 #BEFFA7 #A7EAFF
square
#E8A7FF #FFBCA7 #BEFFA7 #A7EAFF
split-complementary
#E8A7FF #EAFFA7 #A7FFBC
monochromatic
#C82DFF #D86AFF #E8A7FF #F7E0FF #F7E0FF

Accessibility & contrast

On white

1.84
#E8A7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#E8A7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A7FF
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A7FF#FFFFFF#000000##000000
##E8A7FF1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABBFF
Deuteranopia (green-blind)
#AAC1FC
Tritanopia (blue-blind)
#E8B2C8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e8a7ff;
/* rgb */ color: rgb(232, 167, 255);
/* oklch */ color: oklch(82.0% 0.138 317.0);
Tailwind
colors: {
  custom: {
    50: '#f0c2ff',
    500: '#e8a7ff',
    950: '#000000',
  },
}
SCSS
$custom: #e8a7ff;
$custom-light: #f0c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a7ff",
  "rgb": {
    "r": 232,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 284.318,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81969,
    "c": 0.13797,
    "h": 317
  },
  "luminance": 0.52013
}

Semantic roles & 50–950 ramp

primary
#E8A7FF
secondary
#87E466
accent
#E6003C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #E8A7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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