#EA87FA#EA87FA

#EA87FA is a light, vivid purple. Relative luminance 0.417; OKLCH L 77.0% C 0.187 H 321.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#EA87FA
RGBrgb(234, 135, 250)
HSLhsl(292, 92%, 75%)
HSVhsv(292, 46%, 98%)
CMYKcmyk(6.4%, 46%, 0%, 2%)
CIE-LABlab(70.68, 54.93, -41.88)
CIE-LCHlch(70.68, 69.08, 322.68°)
OKLaboklab(76.99% 0.1471 -0.1154)
OKLCHoklch(76.99% 0.187 321.9)
XYZxyz(59.8491, 41.7249, 95.3251)
Luminance0.4172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87FA #97FA87
analogous
#B087FA #EA87FA #FA87D0
triadic
#EA87FA #FAEA87 #87FAEA
tetradic
#EA87FA #FAB087 #97FA87 #87D0FA
square
#EA87FA #FAB087 #97FA87 #87D0FA
split-complementary
#EA87FA #D0FA87 #87FAB0
monochromatic
#D511F5 #E04CF8 #EA87FA #F4C2FC #FAE2FE

Accessibility & contrast

On white

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

On black

9.34
#EA87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87FA
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87FA#FFFFFF#000000##000000
##EA87FA1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#ED95B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ea87fa;
/* rgb */ color: rgb(234, 135, 250);
/* oklch */ color: oklch(77.0% 0.187 321.9);
Tailwind
colors: {
  custom: {
    50: '#f3adfc',
    500: '#ea87fa',
    950: '#000000',
  },
}
SCSS
$custom: #ea87fa;
$custom-light: #f3adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87fa",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 291.652,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76987,
    "c": 0.187,
    "h": 321.9
  },
  "luminance": 0.41722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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