#EA97EC#EA97EC

#EA97EC is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.8% C 0.147 H 326.0°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#EA97EC
RGBrgb(234, 151, 236)
HSLhsl(299, 69%, 76%)
HSVhsv(299, 36%, 93%)
CMYKcmyk(0.8%, 36%, 0%, 7.5%)
CIE-LABlab(73.34, 44.16, -30.11)
CIE-LCHlch(73.34, 53.45, 325.71°)
OKLaboklab(78.79% 0.1218 -0.082)
OKLCHoklch(78.79% 0.147 326)
XYZxyz(60.1373, 45.6842, 84.9908)
Luminance0.4568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA97EC #99EC97
analogous
#BF97EC #EA97EC #EC97C3
triadic
#EA97EC #ECEA97 #97ECEA
tetradic
#EA97EC #ECBF97 #99EC97 #97C3EC
square
#EA97EC #ECBF97 #99EC97 #97C3EC
split-complementary
#EA97EC #C3EC97 #97ECBF
monochromatic
#D530D9 #E063E3 #EA97EC #F4CBF5 #FAE5FA

Accessibility & contrast

On white

2.07
#EA97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#EA97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA97EC
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA97EC#FFFFFF#000000##000000
##EA97EC1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEEF
Deuteranopia (green-blind)
#A5B8E9
Tritanopia (blue-blind)
#EF9FB7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ea97ec;
/* rgb */ color: rgb(234, 151, 236);
/* oklch */ color: oklch(78.8% 0.147 326.0);
Tailwind
colors: {
  custom: {
    50: '#f2b7f2',
    500: '#ea97ec',
    950: '#000000',
  },
}
SCSS
$custom: #ea97ec;
$custom-light: #f2b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ea97ec",
  "rgb": {
    "r": 234,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 298.588,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78791,
    "c": 0.1468,
    "h": 326
  },
  "luminance": 0.45682
}

Semantic roles & 50–950 ramp

primary
#EA97EC
secondary
#DAF2D9
accent
#D11419
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EA97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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