#EA97FA#EA97FA

#EA97FA is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.4% C 0.161 H 321.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#EA97FA
RGBrgb(234, 151, 250)
HSLhsl(290, 91%, 79%)
HSVhsv(290, 40%, 98%)
CMYKcmyk(6.4%, 39.6%, 0%, 2%)
CIE-LABlab(73.89, 46.77, -36.88)
CIE-LCHlch(73.89, 59.56, 321.74°)
OKLaboklab(79.38% 0.1248 -0.1012)
OKLCHoklch(79.38% 0.161 321)
XYZxyz(62.2515, 46.5299, 96.1259)
Luminance0.4653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97FA #A7FA97
analogous
#B897FA #EA97FA #FA97D8
triadic
#EA97FA #FAEA97 #97FAEA
tetradic
#EA97FA #FAB897 #A7FA97 #97D8FA
square
#EA97FA #FAB897 #A7FA97 #97D8FA
split-complementary
#EA97FA #D8FA97 #97FAB8
monochromatic
#D222F4 #DE5DF7 #EA97FA #F6D1FD #F9E2FE

Accessibility & contrast

On white

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

On black

10.31
#EA97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97FA
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97FA#FFFFFF#000000##000000
##EA97FA1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FE
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#ECA3BD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ea97fa;
/* rgb */ color: rgb(234, 151, 250);
/* oklch */ color: oklch(79.4% 0.161 321.0);
Tailwind
colors: {
  custom: {
    50: '#f2b7fc',
    500: '#ea97fa',
    950: '#000000',
  },
}
SCSS
$custom: #ea97fa;
$custom-light: #f2b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97fa",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 290.303,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79384,
    "c": 0.16072,
    "h": 321
  },
  "luminance": 0.46528
}

Semantic roles & 50–950 ramp

primary
#EA97FA
secondary
#DBF6D5
accent
#E60025
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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