#EA87E1#EA87E1

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

Color values

HEX#EA87E1
RGBrgb(234, 135, 225)
HSLhsl(305, 70%, 72%)
HSVhsv(305, 42%, 92%)
CMYKcmyk(0%, 42.3%, 3.8%, 8.2%)
CIE-LABlab(69.65, 50.43, -29.76)
CIE-LCHlch(69.65, 58.55, 329.46°)
OKLaboklab(75.88% 0.1424 -0.0808)
OKLCHoklch(75.88% 0.164 330.4)
XYZxyz(56.1856, 40.2596, 76.0310)
Luminance0.4026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87E1 #87EA90
analogous
#C287EA #EA87E1 #EA87AF
triadic
#EA87E1 #E1EA87 #87E1EA
tetradic
#EA87E1 #EAC287 #87EA90 #87AFEA
square
#EA87E1 #EAC287 #87EA90 #87AFEA
split-complementary
#EA87E1 #AFEA87 #87EAC2
monochromatic
#D225C2 #E153D4 #EA87E1 #F3BBEE #FAE5F8

Accessibility & contrast

On white

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

On black

9.05
#EA87E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87E1
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87E1#FFFFFF#000000##000000
##EA87E11.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E4
Deuteranopia (green-blind)
#9DAFDE
Tritanopia (blue-blind)
#F18EAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ea87e1;
/* rgb */ color: rgb(234, 135, 225);
/* oklch */ color: oklch(75.9% 0.164 330.4);
Tailwind
colors: {
  custom: {
    50: '#f2acea',
    500: '#ea87e1',
    950: '#000000',
  },
}
SCSS
$custom: #ea87e1;
$custom-light: #f2acea;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87e1",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 305.455,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75884,
    "c": 0.16376,
    "h": 330.4
  },
  "luminance": 0.40257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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