#EA97FE#EA97FE

#EA97FE is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.6% C 0.165 H 319.7°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#EA97FE
RGBrgb(234, 151, 254)
HSLhsl(288, 98%, 79%)
HSVhsv(288, 41%, 100%)
CMYKcmyk(7.9%, 40.6%, 0%, 0.4%)
CIE-LABlab(74.05, 47.54, -38.80)
CIE-LCHlch(74.05, 61.36, 320.78°)
OKLaboklab(79.56% 0.1256 -0.1067)
OKLCHoklch(79.56% 0.165 319.7)
XYZxyz(62.8854, 46.7834, 99.4642)
Luminance0.4678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97FE #ABFE97
analogous
#B797FE #EA97FE #FE97DE
triadic
#EA97FE #FEEA97 #97FEEA
tetradic
#EA97FE #FEB797 #ABFE97 #97DEFE
square
#EA97FE #FEB797 #ABFE97 #97DEFE
split-complementary
#EA97FE #DEFE97 #97FEB7
monochromatic
#D21EFD #DE5AFD #EA97FE #F6D4FF #F9E1FF

Accessibility & contrast

On white

2.03
#EA97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#EA97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97FE
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97FE#FFFFFF#000000##000000
##EA97FE1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#9EB9FB
Tritanopia (blue-blind)
#EBA4BF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ea97fe;
/* rgb */ color: rgb(234, 151, 254);
/* oklch */ color: oklch(79.6% 0.165 319.7);
Tailwind
colors: {
  custom: {
    50: '#f2b7ff',
    500: '#ea97fe',
    950: '#000000',
  },
}
SCSS
$custom: #ea97fe;
$custom-light: #f2b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97fe",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 288.35,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7956,
    "c": 0.16483,
    "h": 319.7
  },
  "luminance": 0.46781
}

Semantic roles & 50–950 ramp

primary
#EA97FE
secondary
#DBF7D4
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EA97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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