#EA87E8#EA87E8

#EA87E8 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.2% C 0.170 H 327.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#EA87E8
RGBrgb(234, 135, 232)
HSLhsl(301, 70%, 72%)
HSVhsv(301, 42%, 92%)
CMYKcmyk(0%, 42.3%, 0.9%, 8.2%)
CIE-LABlab(69.93, 51.66, -33.19)
CIE-LCHlch(69.93, 61.40, 327.28°)
OKLaboklab(76.18% 0.1439 -0.0906)
OKLCHoklch(76.18% 0.17 327.8)
XYZxyz(57.1602, 40.6494, 81.1636)
Luminance0.4065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87E8 #87EA89
analogous
#BA87EA #EA87E8 #EA87B7
triadic
#EA87E8 #E8EA87 #87E8EA
tetradic
#EA87E8 #EABA87 #87EA89 #87B7EA
square
#EA87E8 #EABA87 #87EA89 #87B7EA
split-complementary
#EA87E8 #B7EA87 #87EABA
monochromatic
#D225CE #E153DE #EA87E8 #F3BBF2 #FAE5FA

Accessibility & contrast

On white

2.30
#EA87E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#EA87E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87E8
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87E8#FFFFFF#000000##000000
##EA87E81.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3EB
Deuteranopia (green-blind)
#9BB0E5
Tritanopia (blue-blind)
#F090AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ea87e8;
/* rgb */ color: rgb(234, 135, 232);
/* oklch */ color: oklch(76.2% 0.170 327.8);
Tailwind
colors: {
  custom: {
    50: '#f2acef',
    500: '#ea87e8',
    950: '#000000',
  },
}
SCSS
$custom: #ea87e8;
$custom-light: #f2acef;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87e8",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 301.212,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7618,
    "c": 0.17003,
    "h": 327.8
  },
  "luminance": 0.40647
}

Semantic roles & 50–950 ramp

primary
#EA87E8
secondary
#D9F2D9
accent
#D21713
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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