#EA87FB#EA87FB

#EA87FB is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.0% C 0.188 H 321.6°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#EA87FB
RGBrgb(234, 135, 251)
HSLhsl(291, 94%, 76%)
HSVhsv(291, 46%, 98%)
CMYKcmyk(6.8%, 46.2%, 0%, 1.6%)
CIE-LABlab(70.72, 55.12, -42.36)
CIE-LCHlch(70.72, 69.52, 322.46°)
OKLaboklab(77.03% 0.1473 -0.1168)
OKLCHoklch(77.03% 0.188 321.6)
XYZxyz(60.0063, 41.7878, 96.1531)
Luminance0.4178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87FB #98FB87
analogous
#B087FB #EA87FB #FB87D2
triadic
#EA87FB #FBEA87 #87FBEA
tetradic
#EA87FB #FBB087 #98FB87 #87D2FB
square
#EA87FB #FBB087 #98FB87 #87D2FB
split-complementary
#EA87FB #D2FB87 #87FBB0
monochromatic
#D511F7 #E04CF9 #EA87FB #F4C2FD #FAE1FE

Accessibility & contrast

On white

2.24
#EA87FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#EA87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87FB
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87FB#FFFFFF#000000##000000
##EA87FB1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#EC96B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ea87fb;
/* rgb */ color: rgb(234, 135, 251);
/* oklch */ color: oklch(77.0% 0.188 321.6);
Tailwind
colors: {
  custom: {
    50: '#f3adfd',
    500: '#ea87fb',
    950: '#000000',
  },
}
SCSS
$custom: #ea87fb;
$custom-light: #f3adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87fb",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 291.207,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77033,
    "c": 0.18798,
    "h": 321.6
  },
  "luminance": 0.41785
}

Semantic roles & 50–950 ramp

primary
#EA87FB
secondary
#DAF6D5
accent
#E60022
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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