#EA87F0#EA87F0

#EA87F0 is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.5% C 0.177 H 325.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#EA87F0
RGBrgb(234, 135, 240)
HSLhsl(297, 78%, 74%)
HSVhsv(297, 44%, 94%)
CMYKcmyk(2.5%, 43.8%, 0%, 5.9%)
CIE-LABlab(70.26, 53.09, -37.07)
CIE-LCHlch(70.26, 64.75, 325.07°)
OKLaboklab(76.53% 0.1454 -0.1017)
OKLCHoklch(76.53% 0.177 325)
XYZxyz(58.3224, 41.1143, 87.2849)
Luminance0.4111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87F0 #8DF087
analogous
#B587F0 #EA87F0 #F087C1
triadic
#EA87F0 #F0EA87 #87F0EA
tetradic
#EA87F0 #F0B587 #8DF087 #87C1F0
square
#EA87F0 #F0B587 #8DF087 #87C1F0
split-complementary
#EA87F0 #C1F087 #87F0B5
monochromatic
#D51CE1 #E051E9 #EA87F0 #F4BDF7 #FAE4FC

Accessibility & contrast

On white

2.28
#EA87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#EA87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87F0
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87F0#FFFFFF#000000##000000
##EA87F01.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F4
Deuteranopia (green-blind)
#98B0ED
Tritanopia (blue-blind)
#EE93B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ea87f0;
/* rgb */ color: rgb(234, 135, 240);
/* oklch */ color: oklch(76.5% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#f2acf5',
    500: '#ea87f0',
    950: '#000000',
  },
}
SCSS
$custom: #ea87f0;
$custom-light: #f2acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87f0",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 296.571,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76531,
    "c": 0.17744,
    "h": 325
  },
  "luminance": 0.41112
}

Semantic roles & 50–950 ramp

primary
#EA87F0
secondary
#D9F3D8
accent
#DA0B17
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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