#EA97E4#EA97E4

#EA97E4 is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.5% C 0.139 H 329.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#EA97E4
RGBrgb(234, 151, 228)
HSLhsl(304, 66%, 75%)
HSVhsv(304, 35%, 92%)
CMYKcmyk(0%, 35.5%, 2.6%, 8.2%)
CIE-LABlab(73.04, 42.72, -26.20)
CIE-LCHlch(73.04, 50.11, 328.48°)
OKLaboklab(78.47% 0.1198 -0.071)
OKLCHoklch(78.47% 0.139 329.4)
XYZxyz(59.0009, 45.2297, 79.0061)
Luminance0.4523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97E4 #97EA9D
analogous
#C697EA #EA97E4 #EA97BA
triadic
#EA97E4 #E4EA97 #97E4EA
tetradic
#EA97E4 #EAC697 #97EA9D #97BAEA
square
#EA97E4 #EAC697 #97EA9D #97BAEA
split-complementary
#EA97E4 #BAEA97 #97EAC6
monochromatic
#D531CA #E064D7 #EA97E4 #F4CAF1 #FAE6F8

Accessibility & contrast

On white

2.09
#EA97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#EA97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97E4
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97E4#FFFFFF#000000##000000
##EA97E41.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE7
Deuteranopia (green-blind)
#A8B7E1
Tritanopia (blue-blind)
#F09DB4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ea97e4;
/* rgb */ color: rgb(234, 151, 228);
/* oklch */ color: oklch(78.5% 0.139 329.4);
Tailwind
colors: {
  custom: {
    50: '#f2b7ec',
    500: '#ea97e4',
    950: '#000000',
  },
}
SCSS
$custom: #ea97e4;
$custom-light: #f2b7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97e4",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 304.337,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78469,
    "c": 0.13925,
    "h": 329.4
  },
  "luminance": 0.45227
}

Semantic roles & 50–950 ramp

primary
#EA97E4
secondary
#DAF1DB
accent
#CE2417
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EA97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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