#EA87EB#EA87EB

#EA87EB is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.3% C 0.173 H 326.7°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#EA87EB
RGBrgb(234, 135, 235)
HSLhsl(299, 71%, 73%)
HSVhsv(299, 43%, 92%)
CMYKcmyk(0.4%, 42.6%, 0%, 7.8%)
CIE-LABlab(70.05, 52.19, -34.65)
CIE-LCHlch(70.05, 62.64, 326.42°)
OKLaboklab(76.31% 0.1445 -0.0947)
OKLCHoklch(76.31% 0.173 326.7)
XYZxyz(57.5899, 40.8213, 83.4270)
Luminance0.4082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87EB #88EB87
analogous
#B887EB #EA87EB #EB87BA
triadic
#EA87EB #EBEA87 #87EBEA
tetradic
#EA87EB #EBB887 #88EB87 #87BAEB
square
#EA87EB #EBB887 #88EB87 #87BAEB
split-complementary
#EA87EB #BAEB87 #87EBB8
monochromatic
#D223D4 #E153E2 #EA87EB #F3BBF4 #FAE5FB

Accessibility & contrast

On white

2.29
#EA87EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#EA87EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87EB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87EB#FFFFFF#000000##000000
##EA87EB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#EF91AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ea87eb;
/* rgb */ color: rgb(234, 135, 235);
/* oklch */ color: oklch(76.3% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#f2acf1',
    500: '#ea87eb',
    950: '#000000',
  },
}
SCSS
$custom: #ea87eb;
$custom-light: #f2acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87eb",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 299.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7631,
    "c": 0.17278,
    "h": 326.7
  },
  "luminance": 0.40819
}

Semantic roles & 50–950 ramp

primary
#EA87EB
secondary
#D9F2D9
accent
#D31214
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87EB

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

Preview Lab → · Contrast checker → · Palette generator →

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