#EA87F6#EA87F6

#EA87F6 is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.8% C 0.183 H 323.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#EA87F6
RGBrgb(234, 135, 246)
HSLhsl(294, 86%, 75%)
HSVhsv(294, 45%, 96%)
CMYKcmyk(4.9%, 45.1%, 0%, 3.5%)
CIE-LABlab(70.51, 54.19, -39.96)
CIE-LCHlch(70.51, 67.33, 323.59°)
OKLaboklab(76.8% 0.1465 -0.1099)
OKLCHoklch(76.8% 0.183 323.1)
XYZxyz(59.2285, 41.4767, 92.0569)
Luminance0.4147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87F6 #93F687
analogous
#B387F6 #EA87F6 #F687CA
triadic
#EA87F6 #F6EA87 #87F6EA
tetradic
#EA87F6 #F6B387 #93F687 #87CAF6
square
#EA87F6 #F6B387 #93F687 #87CAF6
split-complementary
#EA87F6 #CAF687 #87F6B3
monochromatic
#D615ED #E04EF2 #EA87F6 #F4C0FA #FAE3FD

Accessibility & contrast

On white

2.26
#EA87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#EA87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87F6
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87F6#FFFFFF#000000##000000
##EA87F61.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#95B1F3
Tritanopia (blue-blind)
#ED94B3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ea87f6;
/* rgb */ color: rgb(234, 135, 246);
/* oklch */ color: oklch(76.8% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#f3adf9',
    500: '#ea87f6',
    950: '#000000',
  },
}
SCSS
$custom: #ea87f6;
$custom-light: #f3adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87f6",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 293.514,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.18315,
    "h": 323.1
  },
  "luminance": 0.41474
}

Semantic roles & 50–950 ramp

primary
#EA87F6
secondary
#D9F5D6
accent
#E3031B
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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