#EA97F3#EA97F3

#EA97F3 is a light, vivid purple. Relative luminance 0.461; OKLCH L 79.1% C 0.154 H 323.4°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#EA97F3
RGBrgb(234, 151, 243)
HSLhsl(294, 79%, 77%)
HSVhsv(294, 38%, 95%)
CMYKcmyk(3.7%, 37.9%, 0%, 4.7%)
CIE-LABlab(73.61, 45.45, -33.51)
CIE-LCHlch(73.61, 56.47, 323.60°)
OKLaboklab(79.08% 0.1234 -0.0916)
OKLCHoklch(79.08% 0.154 323.4)
XYZxyz(61.1743, 46.0990, 90.4522)
Luminance0.4610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97F3 #A0F397
analogous
#BC97F3 #EA97F3 #F397CE
triadic
#EA97F3 #F3EA97 #97F3EA
tetradic
#EA97F3 #F3BC97 #A0F397 #97CEF3
square
#EA97F3 #F3BC97 #A0F397 #97CEF3
split-complementary
#EA97F3 #CEF397 #97F3BC
monochromatic
#D429E6 #DF60ED #EA97F3 #F5CEF9 #F9E4FC

Accessibility & contrast

On white

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

On black

10.22
#EA97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97F3
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97F3#FFFFFF#000000##000000
##EA97F31.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF6
Deuteranopia (green-blind)
#A3B8F0
Tritanopia (blue-blind)
#EDA1BA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ea97f3;
/* rgb */ color: rgb(234, 151, 243);
/* oklch */ color: oklch(79.1% 0.154 323.4);
Tailwind
colors: {
  custom: {
    50: '#f2b7f7',
    500: '#ea97f3',
    950: '#000000',
  },
}
SCSS
$custom: #ea97f3;
$custom-light: #f2b7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97f3",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 294.13,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79083,
    "c": 0.15366,
    "h": 323.4
  },
  "luminance": 0.46097
}

Semantic roles & 50–950 ramp

primary
#EA97F3
secondary
#DAF4D7
accent
#DC0A1E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EA97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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