#EA97F6#EA97F6

#EA97F6 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.2% C 0.157 H 322.3°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#EA97F6
RGBrgb(234, 151, 246)
HSLhsl(292, 84%, 78%)
HSVhsv(292, 39%, 96%)
CMYKcmyk(4.9%, 38.6%, 0%, 3.5%)
CIE-LABlab(73.73, 46.01, -34.96)
CIE-LCHlch(73.73, 57.79, 322.77°)
OKLaboklab(79.21% 0.124 -0.0957)
OKLCHoklch(79.21% 0.157 322.3)
XYZxyz(61.6310, 46.2817, 92.8577)
Luminance0.4628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97F6 #A3F697
analogous
#BA97F6 #EA97F6 #F697D2
triadic
#EA97F6 #F6EA97 #97F6EA
tetradic
#EA97F6 #F6BA97 #A3F697 #97D2F6
square
#EA97F6 #F6BA97 #A3F697 #97D2F6
split-complementary
#EA97F6 #D2F697 #97F6BA
monochromatic
#D326EC #DF5FF1 #EA97F6 #F5CFFB #F9E3FD

Accessibility & contrast

On white

2.05
#EA97F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#EA97F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97F6
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97F6#FFFFFF#000000##000000
##EA97F61.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFF9
Deuteranopia (green-blind)
#A1B9F3
Tritanopia (blue-blind)
#EDA2BB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ea97f6;
/* rgb */ color: rgb(234, 151, 246);
/* oklch */ color: oklch(79.2% 0.157 322.3);
Tailwind
colors: {
  custom: {
    50: '#f2b7f9',
    500: '#ea97f6',
    950: '#000000',
  },
}
SCSS
$custom: #ea97f6;
$custom-light: #f2b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97f6",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 246
  },
  "hsl": {
    "h": 292.421,
    "s": 84.071,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79211,
    "c": 0.15667,
    "h": 322.3
  },
  "luminance": 0.46279
}

Semantic roles & 50–950 ramp

primary
#EA97F6
secondary
#DAF5D6
accent
#E10521
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA97F6

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

Preview Lab → · Contrast checker → · Palette generator →

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