#EA87F3#EA87F3

#EA87F3 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.7% C 0.180 H 324.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#EA87F3
RGBrgb(234, 135, 243)
HSLhsl(295, 82%, 74%)
HSVhsv(295, 44%, 95%)
CMYKcmyk(3.7%, 44.4%, 0%, 4.7%)
CIE-LABlab(70.38, 53.64, -38.52)
CIE-LCHlch(70.38, 66.04, 324.32°)
OKLaboklab(76.67% 0.146 -0.1058)
OKLCHoklch(76.67% 0.18 324.1)
XYZxyz(58.7718, 41.2940, 89.6514)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87F3 #90F387
analogous
#B487F3 #EA87F3 #F387C6
triadic
#EA87F3 #F3EA87 #87F3EA
tetradic
#EA87F3 #F3B487 #90F387 #87C6F3
square
#EA87F3 #F3B487 #90F387 #87C6F3
split-complementary
#EA87F3 #C6F387 #87F3B4
monochromatic
#D718E8 #E04FED #EA87F3 #F4BFF9 #FAE3FC

Accessibility & contrast

On white

2.27
#EA87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#EA87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87F3
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87F3#FFFFFF#000000##000000
##EA87F31.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F7
Deuteranopia (green-blind)
#96B0F0
Tritanopia (blue-blind)
#EE93B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ea87f3;
/* rgb */ color: rgb(234, 135, 243);
/* oklch */ color: oklch(76.7% 0.180 324.1);
Tailwind
colors: {
  custom: {
    50: '#f3adf7',
    500: '#ea87f3',
    950: '#000000',
  },
}
SCSS
$custom: #ea87f3;
$custom-light: #f3adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87f3",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 295,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76666,
    "c": 0.18027,
    "h": 324.1
  },
  "luminance": 0.41291
}

Semantic roles & 50–950 ramp

primary
#EA87F3
secondary
#D9F4D7
accent
#DE0719
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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