#E8A7EB#E8A7EB

#E8A7EB is a light, moderate purple. Relative luminance 0.508; OKLCH L 81.2% C 0.117 H 325.1°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#E8A7EB
RGBrgb(232, 167, 235)
HSLhsl(297, 63%, 79%)
HSVhsv(297, 29%, 92%)
CMYKcmyk(1.3%, 28.9%, 0%, 7.8%)
CIE-LABlab(76.55, 34.91, -24.66)
CIE-LCHlch(76.55, 42.74, 324.76°)
OKLaboklab(81.17% 0.0958 -0.0668)
OKLCHoklch(81.17% 0.117 325.1)
XYZxyz(62.0913, 50.7934, 85.1145)
Luminance0.5079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8A7EB #AAEBA7
analogous
#C6A7EB #E8A7EB #EBA7CC
triadic
#E8A7EB #EBE8A7 #A7EBE8
tetradic
#E8A7EB #EBC6A7 #AAEBA7 #A7CCEB
square
#E8A7EB #EBC6A7 #AAEBA7 #A7CCEB
split-complementary
#E8A7EB #CCEBA7 #A7EBC6
monochromatic
#CE43D4 #DB75E0 #E8A7EB #F5D9F6 #F8E6F9

Accessibility & contrast

On white

1.88
#E8A7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#E8A7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8A7EB
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8A7EB#FFFFFF#000000##000000
##E8A7EB1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B8EE
Deuteranopia (green-blind)
#B1C0E9
Tritanopia (blue-blind)
#ECADBF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e8a7eb;
/* rgb */ color: rgb(232, 167, 235);
/* oklch */ color: oklch(81.2% 0.117 325.1);
Tailwind
colors: {
  custom: {
    50: '#f0c2f1',
    500: '#e8a7eb',
    950: '#000000',
  },
}
SCSS
$custom: #e8a7eb;
$custom-light: #f0c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8a7eb",
  "rgb": {
    "r": 232,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 297.353,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.81167,
    "c": 0.11679,
    "h": 325.1
  },
  "luminance": 0.50791
}

Semantic roles & 50–950 ramp

primary
#E8A7EB
secondary
#73C76F
accent
#CB1B23
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#171216
muted
#858285

Preview Lab

Preview with #E8A7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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