#EA97DF#EA97DF

#EA97DF is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.3% C 0.135 H 331.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#EA97DF
RGBrgb(234, 151, 223)
HSLhsl(308, 66%, 75%)
HSVhsv(308, 35%, 92%)
CMYKcmyk(0%, 35.5%, 4.7%, 8.2%)
CIE-LABlab(72.86, 41.84, -23.73)
CIE-LCHlch(72.86, 48.10, 330.44°)
OKLaboklab(78.27% 0.1185 -0.064)
OKLCHoklch(78.27% 0.135 331.6)
XYZxyz(58.3169, 44.9560, 75.4033)
Luminance0.4495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97DF #97EAA2
analogous
#CB97EA #EA97DF #EA97B5
triadic
#EA97DF #DFEA97 #97DFEA
tetradic
#EA97DF #EACB97 #97EAA2 #97B5EA
square
#EA97DF #EACB97 #97EAA2 #97B5EA
split-complementary
#EA97DF #B5EA97 #97EACB
monochromatic
#D531C0 #E064CF #EA97DF #F4CAEF #FAE6F7

Accessibility & contrast

On white

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

On black

9.99
#EA97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97DF
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97DF#FFFFFF#000000##000000
##EA97DF1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ACE2
Deuteranopia (green-blind)
#AAB7DC
Tritanopia (blue-blind)
#F19CB1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ea97df;
/* rgb */ color: rgb(234, 151, 223);
/* oklch */ color: oklch(78.3% 0.135 331.6);
Tailwind
colors: {
  custom: {
    50: '#f2b7e9',
    500: '#ea97df',
    950: '#000000',
  },
}
SCSS
$custom: #ea97df;
$custom-light: #f2b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97df",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 307.952,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78274,
    "c": 0.13471,
    "h": 331.6
  },
  "luminance": 0.44953
}

Semantic roles & 50–950 ramp

primary
#EA97DF
secondary
#DAF1DD
accent
#CE2F17
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EA97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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