#EB8AEE#EB8AEE

#EB8AEE is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.0% C 0.171 H 326.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#EB8AEE
RGBrgb(235, 138, 238)
HSLhsl(298, 75%, 74%)
HSVhsv(298, 42%, 93%)
CMYKcmyk(1.3%, 42%, 0%, 6.7%)
CIE-LABlab(70.88, 51.51, -35.00)
CIE-LCHlch(70.88, 62.27, 325.80°)
OKLaboklab(77% 0.142 -0.0957)
OKLCHoklch(77% 0.171 326)
XYZxyz(58.7808, 42.0149, 85.8858)
Luminance0.4201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8AEE #8DEE8A
analogous
#B98AEE #EB8AEE #EE8ABF
triadic
#EB8AEE #EEEB8A #8AEEEB
tetradic
#EB8AEE #EEB98A #8DEE8A #8ABFEE
square
#EB8AEE #EEB98A #8DEE8A #8ABFEE
split-complementary
#EB8AEE #BFEE8A #8AEEB9
monochromatic
#D820DD #E255E6 #EB8AEE #F4BFF6 #FAE4FB

Accessibility & contrast

On white

2.23
#EB8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#EB8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8AEE
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8AEE#FFFFFF#000000##000000
##EB8AEE1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#9BB2EB
Tritanopia (blue-blind)
#F094B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb8aee;
/* rgb */ color: rgb(235, 138, 238);
/* oklch */ color: oklch(77.0% 0.171 326.0);
Tailwind
colors: {
  custom: {
    50: '#f3aef4',
    500: '#eb8aee',
    950: '#000000',
  },
}
SCSS
$custom: #eb8aee;
$custom-light: #f3aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8aee",
  "rgb": {
    "r": 235,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 298.2,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76996,
    "c": 0.17123,
    "h": 326
  },
  "luminance": 0.42012
}

Semantic roles & 50–950 ramp

primary
#EB8AEE
secondary
#D9F3D8
accent
#D70F15
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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