#EA97FF#EA97FF

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

Color values

HEX#EA97FF
RGBrgb(234, 151, 255)
HSLhsl(288, 100%, 80%)
HSVhsv(288, 41%, 100%)
CMYKcmyk(8.2%, 40.8%, 0%, 0%)
CIE-LABlab(74.09, 47.73, -39.28)
CIE-LCHlch(74.09, 61.81, 320.55°)
OKLaboklab(79.6% 0.1258 -0.1081)
OKLCHoklch(79.6% 0.166 319.3)
XYZxyz(63.0459, 46.8477, 100.3098)
Luminance0.4685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97FF #ACFF97
analogous
#B697FF #EA97FF #FF97E0
triadic
#EA97FF #FFEA97 #97FFEA
tetradic
#EA97FF #FFB697 #ACFF97 #97E0FF
square
#EA97FF #FFB697 #ACFF97 #97E0FF
split-complementary
#EA97FF #E0FF97 #97FFB6
monochromatic
#D11DFF #DE5AFF #EA97FF #F6D4FF #F9E0FF

Accessibility & contrast

On white

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

On black

10.37
#EA97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97FF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97FF#FFFFFF#000000##000000
##EA97FF1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea97ff;
/* rgb */ color: rgb(234, 151, 255);
/* oklch */ color: oklch(79.6% 0.166 319.3);
Tailwind
colors: {
  custom: {
    50: '#f2b7ff',
    500: '#ea97ff',
    950: '#000000',
  },
}
SCSS
$custom: #ea97ff;
$custom-light: #f2b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97ff",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 287.885,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.79604,
    "c": 0.16587,
    "h": 319.3
  },
  "luminance": 0.46846
}

Semantic roles & 50–950 ramp

primary
#EA97FF
secondary
#DBF7D4
accent
#E6002E
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EA97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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