#EA87FD#EA87FD

#EA87FD is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.1% C 0.190 H 321.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#EA87FD
RGBrgb(234, 135, 253)
HSLhsl(290, 97%, 76%)
HSVhsv(290, 47%, 99%)
CMYKcmyk(7.5%, 46.6%, 0%, 0.8%)
CIE-LABlab(70.81, 55.50, -43.31)
CIE-LCHlch(70.81, 70.40, 322.03°)
OKLaboklab(77.13% 0.1476 -0.1195)
OKLCHoklch(77.13% 0.19 321)
XYZxyz(60.3232, 41.9146, 97.8222)
Luminance0.4191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87FD #9AFD87
analogous
#AF87FD #EA87FD #FD87D5
triadic
#EA87FD #FDEA87 #87FDEA
tetradic
#EA87FD #FDAF87 #9AFD87 #87D5FD
square
#EA87FD #FDAF87 #9AFD87 #87D5FD
split-complementary
#EA87FD #D5FD87 #87FDAF
monochromatic
#D50FFB #DF4BFC #EA87FD #F5C3FE #FAE1FE

Accessibility & contrast

On white

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

On black

9.38
#EA87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87FD
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87FD#FFFFFF#000000##000000
##EA87FD1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#EC96B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ea87fd;
/* rgb */ color: rgb(234, 135, 253);
/* oklch */ color: oklch(77.1% 0.190 321.0);
Tailwind
colors: {
  custom: {
    50: '#f3adfe',
    500: '#ea87fd',
    950: '#000000',
  },
}
SCSS
$custom: #ea87fd;
$custom-light: #f3adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87fd",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 290.339,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77127,
    "c": 0.18993,
    "h": 321
  },
  "luminance": 0.41912
}

Semantic roles & 50–950 ramp

primary
#EA87FD
secondary
#DAF7D4
accent
#E60025
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EA87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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