#EA98F7#EA98F7

#EA98F7 is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.4% C 0.156 H 321.9°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#EA98F7
RGBrgb(234, 152, 247)
HSLhsl(292, 86%, 78%)
HSVhsv(292, 38%, 97%)
CMYKcmyk(5.3%, 38.5%, 0%, 3.1%)
CIE-LABlab(73.98, 45.68, -35.12)
CIE-LCHlch(73.98, 57.62, 322.45°)
OKLaboklab(79.41% 0.1228 -0.0962)
OKLCHoklch(79.41% 0.156 321.9)
XYZxyz(61.9465, 46.6665, 93.7221)
Luminance0.4666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA98F7 #A5F798
analogous
#BA98F7 #EA98F7 #F798D5
triadic
#EA98F7 #F7EA98 #98F7EA
tetradic
#EA98F7 #F7BA98 #A5F798 #98D5F7
square
#EA98F7 #F7BA98 #A5F798 #98D5F7
split-complementary
#EA98F7 #D5F798 #98F7BA
monochromatic
#D326EE #DE5FF3 #EA98F7 #F6D1FB #F9E3FD

Accessibility & contrast

On white

2.03
#EA98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#EA98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA98F7
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA98F7#FFFFFF#000000##000000
##EA98F71.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FA
Deuteranopia (green-blind)
#A2B9F4
Tritanopia (blue-blind)
#ECA3BC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ea98f7;
/* rgb */ color: rgb(234, 152, 247);
/* oklch */ color: oklch(79.4% 0.156 321.9);
Tailwind
colors: {
  custom: {
    50: '#f2b8fa',
    500: '#ea98f7',
    950: '#000000',
  },
}
SCSS
$custom: #ea98f7;
$custom-light: #f2b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ea98f7",
  "rgb": {
    "r": 234,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 291.789,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7941,
    "c": 0.15599,
    "h": 321.9
  },
  "luminance": 0.46664
}

Semantic roles & 50–950 ramp

primary
#EA98F7
secondary
#DAF5D6
accent
#E20322
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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