#EA87F9#EA87F9

#EA87F9 is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.9% C 0.186 H 322.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#EA87F9
RGBrgb(234, 135, 249)
HSLhsl(292, 90%, 75%)
HSVhsv(292, 46%, 98%)
CMYKcmyk(6%, 45.8%, 0%, 2.4%)
CIE-LABlab(70.64, 54.75, -41.40)
CIE-LCHlch(70.64, 68.64, 322.90°)
OKLaboklab(76.94% 0.147 -0.1141)
OKLCHoklch(76.94% 0.186 322.2)
XYZxyz(59.6927, 41.6624, 94.5015)
Luminance0.4166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87F9 #96F987
analogous
#B187F9 #EA87F9 #F987CF
triadic
#EA87F9 #F9EA87 #87F9EA
tetradic
#EA87F9 #F9B187 #96F987 #87CFF9
square
#EA87F9 #F9B187 #96F987 #87CFF9
split-complementary
#EA87F9 #CFF987 #87F9B1
monochromatic
#D612F3 #E04DF6 #EA87F9 #F4C1FC #FAE2FE

Accessibility & contrast

On white

2.25
#EA87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#EA87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87F9
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87F9#FFFFFF#000000##000000
##EA87F91.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FD
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#ED95B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ea87f9;
/* rgb */ color: rgb(234, 135, 249);
/* oklch */ color: oklch(76.9% 0.186 322.2);
Tailwind
colors: {
  custom: {
    50: '#f3adfb',
    500: '#ea87f9',
    950: '#000000',
  },
}
SCSS
$custom: #ea87f9;
$custom-light: #f3adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87f9",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 292.105,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.18603,
    "h": 322.2
  },
  "luminance": 0.4166
}

Semantic roles & 50–950 ramp

primary
#EA87F9
secondary
#DAF6D5
accent
#E6001E
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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