#EA98F2#EA98F2

#EA98F2 is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.2% C 0.151 H 323.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#EA98F2
RGBrgb(234, 152, 242)
HSLhsl(295, 78%, 77%)
HSVhsv(295, 37%, 95%)
CMYKcmyk(3.3%, 37.2%, 0%, 5.1%)
CIE-LABlab(73.78, 44.74, -32.70)
CIE-LCHlch(73.78, 55.42, 323.83°)
OKLaboklab(79.2% 0.1217 -0.0893)
OKLCHoklch(79.2% 0.151 323.7)
XYZxyz(61.1853, 46.3620, 89.7130)
Luminance0.4636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA98F2 #A0F298
analogous
#BD98F2 #EA98F2 #F298CD
triadic
#EA98F2 #F2EA98 #98F2EA
tetradic
#EA98F2 #F2BD98 #A0F298 #98CDF2
square
#EA98F2 #F2BD98 #A0F298 #98CDF2
split-complementary
#EA98F2 #CDF298 #98F2BD
monochromatic
#D42BE4 #DF62EB #EA98F2 #F5CEF9 #F9E4FC

Accessibility & contrast

On white

2.04
#EA98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#EA98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA98F2
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA98F2#FFFFFF#000000##000000
##EA98F21.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#A4B9EF
Tritanopia (blue-blind)
#EDA1BA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ea98f2;
/* rgb */ color: rgb(234, 152, 242);
/* oklch */ color: oklch(79.2% 0.151 323.7);
Tailwind
colors: {
  custom: {
    50: '#f2b8f6',
    500: '#ea98f2',
    950: '#000000',
  },
}
SCSS
$custom: #ea98f2;
$custom-light: #f2b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea98f2",
  "rgb": {
    "r": 234,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 294.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79198,
    "c": 0.15097,
    "h": 323.7
  },
  "luminance": 0.4636
}

Semantic roles & 50–950 ramp

primary
#EA98F2
secondary
#DAF3D8
accent
#DA0C1E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EA98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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