#EA97FC#EA97FC

#EA97FC is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.5% C 0.163 H 320.3°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#EA97FC
RGBrgb(234, 151, 252)
HSLhsl(289, 94%, 79%)
HSVhsv(289, 40%, 99%)
CMYKcmyk(7.1%, 40.1%, 0%, 1.2%)
CIE-LABlab(73.97, 47.15, -37.84)
CIE-LCHlch(73.97, 60.46, 321.25°)
OKLaboklab(79.47% 0.1252 -0.104)
OKLCHoklch(79.47% 0.163 320.3)
XYZxyz(62.5668, 46.6560, 97.7863)
Luminance0.4665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97FC #A9FC97
analogous
#B897FC #EA97FC #FC97DC
triadic
#EA97FC #FCEA97 #97FCEA
tetradic
#EA97FC #FCB897 #A9FC97 #97DCFC
square
#EA97FC #FCB897 #A9FC97 #97DCFC
split-complementary
#EA97FC #DCFC97 #97FCB8
monochromatic
#D220F9 #DE5CFA #EA97FC #F6D2FE #F9E1FE

Accessibility & contrast

On white

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

On black

10.33
#EA97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97FC
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97FC#FFFFFF#000000##000000
##EA97FC1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#9FB9F9
Tritanopia (blue-blind)
#ECA3BE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ea97fc;
/* rgb */ color: rgb(234, 151, 252);
/* oklch */ color: oklch(79.5% 0.163 320.3);
Tailwind
colors: {
  custom: {
    50: '#f2b7fd',
    500: '#ea97fc',
    950: '#000000',
  },
}
SCSS
$custom: #ea97fc;
$custom-light: #f2b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97fc",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 289.307,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79471,
    "c": 0.16276,
    "h": 320.3
  },
  "luminance": 0.46654
}

Semantic roles & 50–950 ramp

primary
#EA97FC
secondary
#DBF6D5
accent
#E60029
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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