#EA8AFE#EA8AFE

#EA8AFE is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.6% C 0.186 H 320.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#EA8AFE
RGBrgb(234, 138, 254)
HSLhsl(290, 98%, 77%)
HSVhsv(290, 46%, 100%)
CMYKcmyk(7.9%, 45.7%, 0%, 0.4%)
CIE-LABlab(71.44, 54.18, -42.87)
CIE-LCHlch(71.44, 69.09, 321.65°)
OKLaboklab(77.61% 0.1437 -0.1183)
OKLCHoklch(77.61% 0.186 320.5)
XYZxyz(60.9074, 42.8274, 98.8049)
Luminance0.4283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA8AFE #9EFE8A
analogous
#B08AFE #EA8AFE #FE8AD8
triadic
#EA8AFE #FEEA8A #8AFEEA
tetradic
#EA8AFE #FEB08A #9EFE8A #8AD8FE
square
#EA8AFE #FEB08A #9EFE8A #8AD8FE
split-complementary
#EA8AFE #D8FE8A #8AFEB0
monochromatic
#D411FD #DF4DFD #EA8AFE #F5C7FF #FAE1FF

Accessibility & contrast

On white

2.20
#EA8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#EA8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA8AFE
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA8AFE#FFFFFF#000000##000000
##EA8AFE1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#EC99B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ea8afe;
/* rgb */ color: rgb(234, 138, 254);
/* oklch */ color: oklch(77.6% 0.186 320.5);
Tailwind
colors: {
  custom: {
    50: '#f3afff',
    500: '#ea8afe',
    950: '#000000',
  },
}
SCSS
$custom: #ea8afe;
$custom-light: #f3afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ea8afe",
  "rgb": {
    "r": 234,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 289.655,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77607,
    "c": 0.1861,
    "h": 320.5
  },
  "luminance": 0.42825
}

Semantic roles & 50–950 ramp

primary
#EA8AFE
secondary
#DAF7D4
accent
#E60028
background
#FFFAFF
surface
#FEF5FF
border
#D6CFD7
text
#171118
muted
#858086

Preview Lab

Preview with #EA8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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