#EA87FC#EA87FC

#EA87FC is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.1% C 0.189 H 321.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EA87FC
RGBrgb(234, 135, 252)
HSLhsl(291, 95%, 76%)
HSVhsv(291, 46%, 99%)
CMYKcmyk(7.1%, 46.4%, 0%, 1.2%)
CIE-LABlab(70.77, 55.31, -42.83)
CIE-LCHlch(70.77, 69.95, 322.24°)
OKLaboklab(77.08% 0.1474 -0.1182)
OKLCHoklch(77.08% 0.189 321.3)
XYZxyz(60.1643, 41.8511, 96.9855)
Luminance0.4185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87FC #99FC87
analogous
#AF87FC #EA87FC #FC87D3
triadic
#EA87FC #FCEA87 #87FCEA
tetradic
#EA87FC #FCAF87 #99FC87 #87D3FC
square
#EA87FC #FCAF87 #99FC87 #87D3FC
split-complementary
#EA87FC #D3FC87 #87FCAF
monochromatic
#D510F9 #E04BFB #EA87FC #F4C3FD #FAE1FE

Accessibility & contrast

On white

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

On black

9.37
#EA87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87FC
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87FC#FFFFFF#000000##000000
##EA87FC1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea87fc;
/* rgb */ color: rgb(234, 135, 252);
/* oklch */ color: oklch(77.1% 0.189 321.3);
Tailwind
colors: {
  custom: {
    50: '#f3adfe',
    500: '#ea87fc',
    950: '#000000',
  },
}
SCSS
$custom: #ea87fc;
$custom-light: #f3adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87fc",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 290.769,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7708,
    "c": 0.18895,
    "h": 321.3
  },
  "luminance": 0.41849
}

Semantic roles & 50–950 ramp

primary
#EA87FC
secondary
#DAF6D5
accent
#E60023
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EA87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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