#EA87F2#EA87F2

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

Color values

HEX#EA87F2
RGBrgb(234, 135, 242)
HSLhsl(296, 80%, 74%)
HSVhsv(296, 44%, 95%)
CMYKcmyk(3.3%, 44.2%, 0%, 5.1%)
CIE-LABlab(70.34, 53.45, -38.04)
CIE-LCHlch(70.34, 65.61, 324.56°)
OKLaboklab(76.62% 0.1458 -0.1044)
OKLCHoklch(76.62% 0.179 324.4)
XYZxyz(58.6212, 41.2338, 88.8583)
Luminance0.4123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87F2 #8FF287
analogous
#B587F2 #EA87F2 #F287C5
triadic
#EA87F2 #F2EA87 #87F2EA
tetradic
#EA87F2 #F2B587 #8FF287 #87C5F2
square
#EA87F2 #F2B587 #8FF287 #87C5F2
split-complementary
#EA87F2 #C5F287 #87F2B5
monochromatic
#D619E6 #E050EC #EA87F2 #F4BEF8 #FAE3FC

Accessibility & contrast

On white

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

On black

9.25
#EA87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87F2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87F2#FFFFFF#000000##000000
##EA87F21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea87f2;
/* rgb */ color: rgb(234, 135, 242);
/* oklch */ color: oklch(76.6% 0.179 324.4);
Tailwind
colors: {
  custom: {
    50: '#f3acf6',
    500: '#ea87f2',
    950: '#000000',
  },
}
SCSS
$custom: #ea87f2;
$custom-light: #f3acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87f2",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 295.514,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76621,
    "c": 0.17933,
    "h": 324.4
  },
  "luminance": 0.41231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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