#EA87DD#EA87DD

#EA87DD is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.7% C 0.160 H 332.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#EA87DD
RGBrgb(234, 135, 221)
HSLhsl(308, 70%, 72%)
HSVhsv(308, 42%, 92%)
CMYKcmyk(0%, 42.3%, 5.6%, 8.2%)
CIE-LABlab(69.50, 49.74, -27.78)
CIE-LCHlch(69.50, 56.98, 330.82°)
OKLaboklab(75.72% 0.1415 -0.0753)
OKLCHoklch(75.72% 0.16 332)
XYZxyz(55.6463, 40.0439, 73.1908)
Luminance0.4004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87DD #87EA94
analogous
#C687EA #EA87DD #EA87AB
triadic
#EA87DD #DDEA87 #87DDEA
tetradic
#EA87DD #EAC687 #87EA94 #87ABEA
square
#EA87DD #EAC687 #87EA94 #87ABEA
split-complementary
#EA87DD #ABEA87 #87EAC6
monochromatic
#D225BB #E153CE #EA87DD #F3BBEC #FAE5F8

Accessibility & contrast

On white

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

On black

9.01
#EA87DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87DD
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87DD#FFFFFF#000000##000000
##EA87DD1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E0
Deuteranopia (green-blind)
#9FAFDA
Tritanopia (blue-blind)
#F28DA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ea87dd;
/* rgb */ color: rgb(234, 135, 221);
/* oklch */ color: oklch(75.7% 0.160 332.0);
Tailwind
colors: {
  custom: {
    50: '#f2ace7',
    500: '#ea87dd',
    950: '#000000',
  },
}
SCSS
$custom: #ea87dd;
$custom-light: #f2ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87dd",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 307.879,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75719,
    "c": 0.16029,
    "h": 332
  },
  "luminance": 0.40041
}

Semantic roles & 50–950 ramp

primary
#EA87DD
secondary
#D9F2DC
accent
#D22C13
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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