#EA87F7#EA87F7

#EA87F7 is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.8% C 0.184 H 322.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#EA87F7
RGBrgb(234, 135, 247)
HSLhsl(293, 88%, 75%)
HSVhsv(293, 45%, 97%)
CMYKcmyk(5.3%, 45.3%, 0%, 3.1%)
CIE-LABlab(70.55, 54.37, -40.44)
CIE-LCHlch(70.55, 67.77, 323.36°)
OKLaboklab(76.85% 0.1466 -0.1113)
OKLCHoklch(76.85% 0.184 322.8)
XYZxyz(59.3824, 41.5383, 92.8674)
Luminance0.4154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87F7 #94F787
analogous
#B287F7 #EA87F7 #F787CC
triadic
#EA87F7 #F7EA87 #87F7EA
tetradic
#EA87F7 #F7B287 #94F787 #87CCF7
square
#EA87F7 #F7B287 #94F787 #87CCF7
split-complementary
#EA87F7 #CCF787 #87F7B2
monochromatic
#D614EF #E04EF3 #EA87F7 #F4C0FB #FAE2FD

Accessibility & contrast

On white

2.26
#EA87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#EA87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87F7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87F7#FFFFFF#000000##000000
##EA87F71.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#95B1F4
Tritanopia (blue-blind)
#ED94B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ea87f7;
/* rgb */ color: rgb(234, 135, 247);
/* oklch */ color: oklch(76.8% 0.184 322.8);
Tailwind
colors: {
  custom: {
    50: '#f3adfa',
    500: '#ea87f7',
    950: '#000000',
  },
}
SCSS
$custom: #ea87f7;
$custom-light: #f3adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87f7",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 293.036,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76848,
    "c": 0.1841,
    "h": 322.8
  },
  "luminance": 0.41536
}

Semantic roles & 50–950 ramp

primary
#EA87F7
secondary
#DAF5D6
accent
#E4011C
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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