#EA97E2#EA97E2

#EA97E2 is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.4% C 0.137 H 330.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#EA97E2
RGBrgb(234, 151, 226)
HSLhsl(306, 66%, 75%)
HSVhsv(306, 35%, 92%)
CMYKcmyk(0%, 35.5%, 3.4%, 8.2%)
CIE-LABlab(72.97, 42.37, -25.21)
CIE-LCHlch(72.97, 49.30, 329.24°)
OKLaboklab(78.39% 0.1193 -0.0682)
OKLCHoklch(78.39% 0.137 330.2)
XYZxyz(58.7249, 45.1192, 77.5523)
Luminance0.4512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97E2 #97EA9F
analogous
#C897EA #EA97E2 #EA97B8
triadic
#EA97E2 #E2EA97 #97E2EA
tetradic
#EA97E2 #EAC897 #97EA9F #97B8EA
square
#EA97E2 #EAC897 #97EA9F #97B8EA
split-complementary
#EA97E2 #B8EA97 #97EAC8
monochromatic
#D531C6 #E064D4 #EA97E2 #F4CAF0 #FAE6F8

Accessibility & contrast

On white

2.10
#EA97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#EA97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97E2
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97E2#FFFFFF#000000##000000
##EA97E21.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ACE5
Deuteranopia (green-blind)
#A9B7DF
Tritanopia (blue-blind)
#F09DB3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ea97e2;
/* rgb */ color: rgb(234, 151, 226);
/* oklch */ color: oklch(78.4% 0.137 330.2);
Tailwind
colors: {
  custom: {
    50: '#f2b7eb',
    500: '#ea97e2',
    950: '#000000',
  },
}
SCSS
$custom: #ea97e2;
$custom-light: #f2b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97e2",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 305.783,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7839,
    "c": 0.13742,
    "h": 330.2
  },
  "luminance": 0.45117
}

Semantic roles & 50–950 ramp

primary
#EA97E2
secondary
#DAF1DC
accent
#CE2917
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EA97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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