#EA97FD#EA97FD

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

Color values

HEX#EA97FD
RGBrgb(234, 151, 253)
HSLhsl(289, 96%, 79%)
HSVhsv(289, 40%, 99%)
CMYKcmyk(7.5%, 40.3%, 0%, 0.8%)
CIE-LABlab(74.01, 47.34, -38.32)
CIE-LCHlch(74.01, 60.91, 321.01°)
OKLaboklab(79.52% 0.1254 -0.1053)
OKLCHoklch(79.52% 0.164 320)
XYZxyz(62.7257, 46.7196, 98.6231)
Luminance0.4672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97FD #AAFD97
analogous
#B797FD #EA97FD #FD97DD
triadic
#EA97FD #FDEA97 #97FDEA
tetradic
#EA97FD #FDB797 #AAFD97 #97DDFD
square
#EA97FD #FDB797 #AAFD97 #97DDFD
split-complementary
#EA97FD #DDFD97 #97FDB7
monochromatic
#D21FFB #DE5BFC #EA97FD #F6D3FE #F9E1FE

Accessibility & contrast

On white

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

On black

10.34
#EA97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97FD
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97FD#FFFFFF#000000##000000
##EA97FD1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea97fd;
/* rgb */ color: rgb(234, 151, 253);
/* oklch */ color: oklch(79.5% 0.164 320.0);
Tailwind
colors: {
  custom: {
    50: '#f2b7fe',
    500: '#ea97fd',
    950: '#000000',
  },
}
SCSS
$custom: #ea97fd;
$custom-light: #f2b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97fd",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 288.824,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79515,
    "c": 0.1638,
    "h": 320
  },
  "luminance": 0.46717
}

Semantic roles & 50–950 ramp

primary
#EA97FD
secondary
#DBF7D4
accent
#E6002B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EA97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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