#EA87E2#EA87E2

#EA87E2 is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.9% C 0.165 H 330.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#EA87E2
RGBrgb(234, 135, 226)
HSLhsl(305, 70%, 72%)
HSVhsv(305, 42%, 92%)
CMYKcmyk(0%, 42.3%, 3.4%, 8.2%)
CIE-LABlab(69.69, 50.60, -30.25)
CIE-LCHlch(69.69, 58.95, 329.13°)
OKLaboklab(75.93% 0.1426 -0.0822)
OKLCHoklch(75.93% 0.165 330)
XYZxyz(56.3224, 40.3143, 76.7515)
Luminance0.4031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87E2 #87EA8F
analogous
#C087EA #EA87E2 #EA87B1
triadic
#EA87E2 #E2EA87 #87E2EA
tetradic
#EA87E2 #EAC087 #87EA8F #87B1EA
square
#EA87E2 #EAC087 #87EA8F #87B1EA
split-complementary
#EA87E2 #B1EA87 #87EAC0
monochromatic
#D225C4 #E153D5 #EA87E2 #F3BBEF #FAE5F9

Accessibility & contrast

On white

2.32
#EA87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#EA87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87E2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87E2#FFFFFF#000000##000000
##EA87E21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E5
Deuteranopia (green-blind)
#9DAFDF
Tritanopia (blue-blind)
#F18FAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ea87e2;
/* rgb */ color: rgb(234, 135, 226);
/* oklch */ color: oklch(75.9% 0.165 330.0);
Tailwind
colors: {
  custom: {
    50: '#f2aceb',
    500: '#ea87e2',
    950: '#000000',
  },
}
SCSS
$custom: #ea87e2;
$custom-light: #f2aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87e2",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 304.848,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75926,
    "c": 0.16465,
    "h": 330
  },
  "luminance": 0.40311
}

Semantic roles & 50–950 ramp

primary
#EA87E2
secondary
#D9F2DB
accent
#D22313
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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