#EA98EF#EA98EF

#EA98EF is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.1% C 0.148 H 324.8°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#EA98EF
RGBrgb(234, 152, 239)
HSLhsl(297, 73%, 77%)
HSVhsv(297, 36%, 94%)
CMYKcmyk(2.1%, 36.4%, 0%, 6.3%)
CIE-LABlab(73.66, 44.19, -31.25)
CIE-LCHlch(73.66, 54.12, 324.73°)
OKLaboklab(79.07% 0.121 -0.0852)
OKLCHoklch(79.07% 0.148 324.8)
XYZxyz(60.7384, 46.1832, 87.3594)
Luminance0.4618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA98EF #9DEF98
analogous
#BF98EF #EA98EF #EF98C9
triadic
#EA98EF #EFEA98 #98EFEA
tetradic
#EA98EF #EFBF98 #9DEF98 #98C9EF
square
#EA98EF #EFBF98 #9DEF98 #98C9EF
split-complementary
#EA98EF #C9EF98 #98EFBF
monochromatic
#D42EDF #DF63E7 #EA98EF #F5CDF7 #FAE5FB

Accessibility & contrast

On white

2.05
#EA98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#EA98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA98EF
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA98EF#FFFFFF#000000##000000
##EA98EF1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF2
Deuteranopia (green-blind)
#A5B9EC
Tritanopia (blue-blind)
#EEA1B9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ea98ef;
/* rgb */ color: rgb(234, 152, 239);
/* oklch */ color: oklch(79.1% 0.148 324.8);
Tailwind
colors: {
  custom: {
    50: '#f2b8f4',
    500: '#ea98ef',
    950: '#000000',
  },
}
SCSS
$custom: #ea98ef;
$custom-light: #f2b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea98ef",
  "rgb": {
    "r": 234,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 296.552,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79073,
    "c": 0.14801,
    "h": 324.8
  },
  "luminance": 0.46181
}

Semantic roles & 50–950 ramp

primary
#EA98EF
secondary
#DAF3D8
accent
#D5101C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EA98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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