#EA87ED#EA87ED

#EA87ED is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.4% C 0.175 H 326.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#EA87ED
RGBrgb(234, 135, 237)
HSLhsl(298, 74%, 73%)
HSVhsv(298, 43%, 93%)
CMYKcmyk(1.3%, 43%, 0%, 7.1%)
CIE-LABlab(70.13, 52.55, -35.62)
CIE-LCHlch(70.13, 63.48, 325.87°)
OKLaboklab(76.4% 0.1449 -0.0975)
OKLCHoklch(76.4% 0.175 326.1)
XYZxyz(57.8805, 40.9375, 84.9573)
Luminance0.4093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87ED #8AED87
analogous
#B787ED #EA87ED #ED87BD
triadic
#EA87ED #EDEA87 #87EDEA
tetradic
#EA87ED #EDB787 #8AED87 #87BDED
square
#EA87ED #EDB787 #8AED87 #87BDED
split-complementary
#EA87ED #BDED87 #87EDB7
monochromatic
#D421D9 #E152E5 #EA87ED #F3BCF5 #FAE4FB

Accessibility & contrast

On white

2.29
#EA87ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#EA87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87ED
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87ED#FFFFFF#000000##000000
##EA87ED1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F1
Deuteranopia (green-blind)
#99B0EA
Tritanopia (blue-blind)
#EF92AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ea87ed;
/* rgb */ color: rgb(234, 135, 237);
/* oklch */ color: oklch(76.4% 0.175 326.1);
Tailwind
colors: {
  custom: {
    50: '#f2acf3',
    500: '#ea87ed',
    950: '#000000',
  },
}
SCSS
$custom: #ea87ed;
$custom-light: #f2acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87ed",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 298.235,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76398,
    "c": 0.17463,
    "h": 326.1
  },
  "luminance": 0.40935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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