#EA81E2#EA81E2

#EA81E2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.1% C 0.175 H 330.0°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#EA81E2
RGBrgb(234, 129, 226)
HSLhsl(305, 71%, 71%)
HSVhsv(305, 45%, 92%)
CMYKcmyk(0%, 44.9%, 3.4%, 8.2%)
CIE-LABlab(68.52, 53.61, -32.05)
CIE-LCHlch(68.52, 62.46, 329.12°)
OKLaboklab(75.05% 0.1512 -0.0873)
OKLCHoklch(75.05% 0.175 330)
XYZxyz(55.5088, 38.6870, 76.4803)
Luminance0.3868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA81E2 #81EA89
analogous
#BD81EA #EA81E2 #EA81AD
triadic
#EA81E2 #E2EA81 #81E2EA
tetradic
#EA81E2 #EABD81 #81EA89 #81ADEA
square
#EA81E2 #EABD81 #81EA89 #81ADEA
split-complementary
#EA81E2 #ADEA81 #81EABD
monochromatic
#CE22C1 #E14DD6 #EA81E2 #F3B5EE #FBE5F9

Accessibility & contrast

On white

2.40
#EA81E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#EA81E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA81E2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA81E2#FFFFFF#000000##000000
##EA81E21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#99ACDF
Tritanopia (blue-blind)
#F189A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea81e2;
/* rgb */ color: rgb(234, 129, 226);
/* oklch */ color: oklch(75.1% 0.175 330.0);
Tailwind
colors: {
  custom: {
    50: '#f3a8eb',
    500: '#ea81e2',
    950: '#000000',
  },
}
SCSS
$custom: #ea81e2;
$custom-light: #f3a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea81e2",
  "rgb": {
    "r": 234,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 304.571,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.17457,
    "h": 330
  },
  "luminance": 0.38684
}

Semantic roles & 50–950 ramp

primary
#EA81E2
secondary
#D6F1D8
accent
#D32112
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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