#EA87F1#EA87F1

#EA87F1 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.6% C 0.178 H 324.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#EA87F1
RGBrgb(234, 135, 241)
HSLhsl(296, 79%, 74%)
HSVhsv(296, 44%, 95%)
CMYKcmyk(2.9%, 44%, 0%, 5.5%)
CIE-LABlab(70.30, 53.27, -37.56)
CIE-LCHlch(70.30, 65.18, 324.82°)
OKLaboklab(76.58% 0.1456 -0.103)
OKLCHoklch(76.58% 0.178 324.7)
XYZxyz(58.4714, 41.1739, 88.0694)
Luminance0.4117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87F1 #8EF187
analogous
#B587F1 #EA87F1 #F187C3
triadic
#EA87F1 #F1EA87 #87F1EA
tetradic
#EA87F1 #F1B587 #8EF187 #87C3F1
square
#EA87F1 #F1B587 #8EF187 #87C3F1
split-complementary
#EA87F1 #C3F187 #87F1B5
monochromatic
#D61AE3 #E050EB #EA87F1 #F4BEF7 #FAE4FC

Accessibility & contrast

On white

2.27
#EA87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#EA87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87F1
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87F1#FFFFFF#000000##000000
##EA87F11.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F5
Deuteranopia (green-blind)
#97B0EE
Tritanopia (blue-blind)
#EE93B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ea87f1;
/* rgb */ color: rgb(234, 135, 241);
/* oklch */ color: oklch(76.6% 0.178 324.7);
Tailwind
colors: {
  custom: {
    50: '#f2acf6',
    500: '#ea87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ea87f1;
$custom-light: #f2acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87f1",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 296.038,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76576,
    "c": 0.17838,
    "h": 324.7
  },
  "luminance": 0.41171
}

Semantic roles & 50–950 ramp

primary
#EA87F1
secondary
#D9F4D7
accent
#DB0A18
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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