#EA97FB#EA97FB

#EA97FB is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.4% C 0.162 H 320.6°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#EA97FB
RGBrgb(234, 151, 251)
HSLhsl(290, 93%, 79%)
HSVhsv(290, 40%, 98%)
CMYKcmyk(6.8%, 39.8%, 0%, 1.6%)
CIE-LABlab(73.93, 46.96, -37.36)
CIE-LCHlch(73.93, 60.01, 321.49°)
OKLaboklab(79.43% 0.125 -0.1026)
OKLCHoklch(79.43% 0.162 320.6)
XYZxyz(62.4088, 46.5928, 96.9539)
Luminance0.4659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97FB #A8FB97
analogous
#B897FB #EA97FB #FB97DA
triadic
#EA97FB #FBEA97 #97FBEA
tetradic
#EA97FB #FBB897 #A8FB97 #97DAFB
square
#EA97FB #FBB897 #A8FB97 #97DAFB
split-complementary
#EA97FB #DAFB97 #97FBB8
monochromatic
#D221F6 #DE5CF9 #EA97FB #F6D2FD #F9E2FE

Accessibility & contrast

On white

2.04
#EA97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#EA97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97FB
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97FB#FFFFFF#000000##000000
##EA97FB1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#ECA3BD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ea97fb;
/* rgb */ color: rgb(234, 151, 251);
/* oklch */ color: oklch(79.4% 0.162 320.6);
Tailwind
colors: {
  custom: {
    50: '#f2b7fd',
    500: '#ea97fb',
    950: '#000000',
  },
}
SCSS
$custom: #ea97fb;
$custom-light: #f2b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97fb",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 289.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79427,
    "c": 0.16174,
    "h": 320.6
  },
  "luminance": 0.46591
}

Semantic roles & 50–950 ramp

primary
#EA97FB
secondary
#DBF6D5
accent
#E60027
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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