#EA87E5#EA87E5

#EA87E5 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.1% C 0.167 H 328.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#EA87E5
RGBrgb(234, 135, 229)
HSLhsl(303, 70%, 72%)
HSVhsv(303, 42%, 92%)
CMYKcmyk(0%, 42.3%, 2.1%, 8.2%)
CIE-LABlab(69.81, 51.13, -31.72)
CIE-LCHlch(69.81, 60.17, 328.18°)
OKLaboklab(76.05% 0.1433 -0.0864)
OKLCHoklch(76.05% 0.167 328.9)
XYZxyz(56.7377, 40.4804, 78.9385)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87E5 #87EA8C
analogous
#BD87EA #EA87E5 #EA87B4
triadic
#EA87E5 #E5EA87 #87E5EA
tetradic
#EA87E5 #EABD87 #87EA8C #87B4EA
square
#EA87E5 #EABD87 #87EA8C #87B4EA
split-complementary
#EA87E5 #B4EA87 #87EABD
monochromatic
#D225C9 #E153DA #EA87E5 #F3BBF0 #FAE5F9

Accessibility & contrast

On white

2.31
#EA87E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#EA87E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87E5
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87E5#FFFFFF#000000##000000
##EA87E51.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E8
Deuteranopia (green-blind)
#9CAFE2
Tritanopia (blue-blind)
#F08FAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ea87e5;
/* rgb */ color: rgb(234, 135, 229);
/* oklch */ color: oklch(76.1% 0.167 328.9);
Tailwind
colors: {
  custom: {
    50: '#f2aced',
    500: '#ea87e5',
    950: '#000000',
  },
}
SCSS
$custom: #ea87e5;
$custom-light: #f2aced;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87e5",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 303.03,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76052,
    "c": 0.16732,
    "h": 328.9
  },
  "luminance": 0.40478
}

Semantic roles & 50–950 ramp

primary
#EA87E5
secondary
#D9F2DA
accent
#D21D13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA87E5

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

Preview Lab → · Contrast checker → · Palette generator →

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