#EA97F2#EA97F2

#EA97F2 is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.0% C 0.153 H 323.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#EA97F2
RGBrgb(234, 151, 242)
HSLhsl(295, 78%, 77%)
HSVhsv(295, 38%, 95%)
CMYKcmyk(3.3%, 37.6%, 0%, 5.1%)
CIE-LABlab(73.57, 45.26, -33.03)
CIE-LCHlch(73.57, 56.03, 323.88°)
OKLaboklab(79.04% 0.1231 -0.0903)
OKLCHoklch(79.04% 0.153 323.8)
XYZxyz(61.0237, 46.0387, 89.6591)
Luminance0.4604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97F2 #9FF297
analogous
#BD97F2 #EA97F2 #F297CD
triadic
#EA97F2 #F2EA97 #97F2EA
tetradic
#EA97F2 #F2BD97 #9FF297 #97CDF2
square
#EA97F2 #F2BD97 #9FF297 #97CDF2
split-complementary
#EA97F2 #CDF297 #97F2BD
monochromatic
#D42AE4 #DF61EB #EA97F2 #F5CDF9 #FAE4FC

Accessibility & contrast

On white

2.06
#EA97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#EA97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97F2
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97F2#FFFFFF#000000##000000
##EA97F21.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF5
Deuteranopia (green-blind)
#A3B8EF
Tritanopia (blue-blind)
#EDA1B9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ea97f2;
/* rgb */ color: rgb(234, 151, 242);
/* oklch */ color: oklch(79.0% 0.153 323.8);
Tailwind
colors: {
  custom: {
    50: '#f2b7f6',
    500: '#ea97f2',
    950: '#000000',
  },
}
SCSS
$custom: #ea97f2;
$custom-light: #f2b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97f2",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 294.725,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79041,
    "c": 0.15267,
    "h": 323.8
  },
  "luminance": 0.46036
}

Semantic roles & 50–950 ramp

primary
#EA97F2
secondary
#DAF3D8
accent
#DA0B1E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EA97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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