#EA87DF#EA87DF

#EA87DF is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.8% C 0.162 H 331.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#EA87DF
RGBrgb(234, 135, 223)
HSLhsl(307, 70%, 72%)
HSVhsv(307, 42%, 92%)
CMYKcmyk(0%, 42.3%, 4.7%, 8.2%)
CIE-LABlab(69.58, 50.09, -28.77)
CIE-LCHlch(69.58, 57.76, 330.13°)
OKLaboklab(75.8% 0.142 -0.0781)
OKLCHoklch(75.8% 0.162 331.2)
XYZxyz(55.9144, 40.1511, 74.6025)
Luminance0.4015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87DF #87EA92
analogous
#C487EA #EA87DF #EA87AD
triadic
#EA87DF #DFEA87 #87DFEA
tetradic
#EA87DF #EAC487 #87EA92 #87ADEA
square
#EA87DF #EAC487 #87EA92 #87ADEA
split-complementary
#EA87DF #ADEA87 #87EAC4
monochromatic
#D225BF #E153D1 #EA87DF #F3BBED #FAE5F8

Accessibility & contrast

On white

2.33
#EA87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#EA87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87DF
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87DF#FFFFFF#000000##000000
##EA87DF1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E2
Deuteranopia (green-blind)
#9EAFDC
Tritanopia (blue-blind)
#F18EA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ea87df;
/* rgb */ color: rgb(234, 135, 223);
/* oklch */ color: oklch(75.8% 0.162 331.2);
Tailwind
colors: {
  custom: {
    50: '#f2ace9',
    500: '#ea87df',
    950: '#000000',
  },
}
SCSS
$custom: #ea87df;
$custom-light: #f2ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87df",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 306.667,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75801,
    "c": 0.16202,
    "h": 331.2
  },
  "luminance": 0.40148
}

Semantic roles & 50–950 ramp

primary
#EA87DF
secondary
#D9F2DC
accent
#D22913
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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