#E7A8ED#E7A8ED

#E7A8ED is a light, moderate purple. Relative luminance 0.511; OKLCH L 81.3% C 0.116 H 323.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#E7A8ED
RGBrgb(231, 168, 237)
HSLhsl(295, 66%, 79%)
HSVhsv(295, 29%, 93%)
CMYKcmyk(2.5%, 29.1%, 0%, 7.1%)
CIE-LABlab(76.75, 34.43, -25.46)
CIE-LCHlch(76.75, 42.82, 323.52°)
OKLaboklab(81.31% 0.0938 -0.0691)
OKLCHoklch(81.31% 0.116 323.6)
XYZxyz(62.2420, 51.1104, 86.6909)
Luminance0.5111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7A8ED #AEEDA8
analogous
#C5A8ED #E7A8ED #EDA8D1
triadic
#E7A8ED #EDE7A8 #A8EDE7
tetradic
#E7A8ED #EDC5A8 #AEEDA8 #A8D1ED
square
#E7A8ED #EDC5A8 #AEEDA8 #A8D1ED
split-complementary
#E7A8ED #D1EDA8 #A8EDC5
monochromatic
#CB43D8 #D975E3 #E7A8ED #F5DBF7 #F8E6FA

Accessibility & contrast

On white

1.87
#E7A8ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#E7A8ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7A8ED
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7A8ED#FFFFFF#000000##000000
##E7A8ED1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B9F0
Deuteranopia (green-blind)
#B1C0EB
Tritanopia (blue-blind)
#EAAFC1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e7a8ed;
/* rgb */ color: rgb(231, 168, 237);
/* oklch */ color: oklch(81.3% 0.116 323.6);
Tailwind
colors: {
  custom: {
    50: '#efc2f3',
    500: '#e7a8ed',
    950: '#000000',
  },
}
SCSS
$custom: #e7a8ed;
$custom-light: #efc2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#e7a8ed",
  "rgb": {
    "r": 231,
    "g": 168,
    "b": 237
  },
  "hsl": {
    "h": 294.783,
    "s": 65.714,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81313,
    "c": 0.11645,
    "h": 323.6
  },
  "luminance": 0.51109
}

Semantic roles & 50–950 ramp

primary
#E7A8ED
secondary
#77CA6F
accent
#CE1828
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#161217
muted
#858285

Preview Lab

Preview with #E7A8ED

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

Preview Lab → · Contrast checker → · Palette generator →

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