#EA97F7#EA97F7

#EA97F7 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.3% C 0.158 H 322.0°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#EA97F7
RGBrgb(234, 151, 247)
HSLhsl(292, 86%, 78%)
HSVhsv(292, 39%, 97%)
CMYKcmyk(5.3%, 38.9%, 0%, 3.1%)
CIE-LABlab(73.77, 46.20, -35.44)
CIE-LCHlch(73.77, 58.23, 322.51°)
OKLaboklab(79.25% 0.1242 -0.0971)
OKLCHoklch(79.25% 0.158 322)
XYZxyz(61.7849, 46.3432, 93.6682)
Luminance0.4634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97F7 #A4F797
analogous
#BA97F7 #EA97F7 #F797D4
triadic
#EA97F7 #F7EA97 #97F7EA
tetradic
#EA97F7 #F7BA97 #A4F797 #97D4F7
square
#EA97F7 #F7BA97 #A4F797 #97D4F7
split-complementary
#EA97F7 #D4F797 #97F7BA
monochromatic
#D325EE #DF5EF3 #EA97F7 #F5D0FB #F9E3FD

Accessibility & contrast

On white

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

On black

10.27
#EA97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97F7
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97F7#FFFFFF#000000##000000
##EA97F71.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFFB
Deuteranopia (green-blind)
#A1B9F4
Tritanopia (blue-blind)
#EDA2BC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ea97f7;
/* rgb */ color: rgb(234, 151, 247);
/* oklch */ color: oklch(79.3% 0.158 322.0);
Tailwind
colors: {
  custom: {
    50: '#f2b7fa',
    500: '#ea97f7',
    950: '#000000',
  },
}
SCSS
$custom: #ea97f7;
$custom-light: #f2b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97f7",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 291.875,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79254,
    "c": 0.15767,
    "h": 322
  },
  "luminance": 0.46341
}

Semantic roles & 50–950 ramp

primary
#EA97F7
secondary
#DAF5D6
accent
#E20321
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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