#E8A7FB#E8A7FB

#E8A7FB is a light, vivid purple. Relative luminance 0.518; OKLCH L 81.8% C 0.134 H 318.4°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#E8A7FB
RGBrgb(232, 167, 251)
HSLhsl(286, 91%, 82%)
HSVhsv(286, 33%, 98%)
CMYKcmyk(7.6%, 33.5%, 0%, 1.6%)
CIE-LABlab(77.14, 37.95, -32.42)
CIE-LCHlch(77.14, 49.91, 319.50°)
OKLaboklab(81.8% 0.0999 -0.0887)
OKLCHoklch(81.8% 0.134 318.4)
XYZxyz(64.5076, 51.7599, 97.8406)
Luminance0.5176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A7FB #BAFBA7
analogous
#BEA7FB #E8A7FB #FBA7E4
triadic
#E8A7FB #FBE8A7 #A7FBE8
tetradic
#E8A7FB #FBBEA7 #BAFBA7 #A7E4FB
square
#E8A7FB #FBBEA7 #BAFBA7 #A7E4FB
split-complementary
#E8A7FB #E4FBA7 #A7FBBE
monochromatic
#C932F6 #D96CF8 #E8A7FB #F7E2FE #F7E2FE

Accessibility & contrast

On white

1.85
#E8A7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#E8A7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A7FB
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A7FB#FFFFFF#000000##000000
##E8A7FB1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBAFE
Deuteranopia (green-blind)
#ABC1F8
Tritanopia (blue-blind)
#E9B1C6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e8a7fb;
/* rgb */ color: rgb(232, 167, 251);
/* oklch */ color: oklch(81.8% 0.134 318.4);
Tailwind
colors: {
  custom: {
    50: '#f0c2fd',
    500: '#e8a7fb',
    950: '#000000',
  },
}
SCSS
$custom: #e8a7fb;
$custom-light: #f0c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a7fb",
  "rgb": {
    "r": 232,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 286.429,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81803,
    "c": 0.1336,
    "h": 318.4
  },
  "luminance": 0.51758
}

Semantic roles & 50–950 ramp

primary
#E8A7FB
secondary
#83DE68
accent
#E60034
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #E8A7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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