#EA98FB#EA98FB

#EA98FB is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.6% C 0.160 H 320.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#EA98FB
RGBrgb(234, 152, 251)
HSLhsl(290, 93%, 79%)
HSVhsv(290, 39%, 98%)
CMYKcmyk(6.8%, 39.4%, 0%, 1.6%)
CIE-LABlab(74.14, 46.44, -37.04)
CIE-LCHlch(74.14, 59.40, 321.42°)
OKLaboklab(79.58% 0.1236 -0.1017)
OKLCHoklch(79.58% 0.16 320.6)
XYZxyz(62.5704, 46.9160, 97.0078)
Luminance0.4691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA98FB #A9FB98
analogous
#B998FB #EA98FB #FB98DB
triadic
#EA98FB #FBEA98 #98FBEA
tetradic
#EA98FB #FBB998 #A9FB98 #98DBFB
square
#EA98FB #FBB998 #A9FB98 #98DBFB
split-complementary
#EA98FB #DBFB98 #98FBB9
monochromatic
#D222F6 #DE5DF9 #EA98FB #F6D3FD #F9E2FE

Accessibility & contrast

On white

2.02
#EA98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#EA98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA98FB
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA98FB#FFFFFF#000000##000000
##EA98FB1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FF
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#ECA4BE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ea98fb;
/* rgb */ color: rgb(234, 152, 251);
/* oklch */ color: oklch(79.6% 0.160 320.6);
Tailwind
colors: {
  custom: {
    50: '#f2b8fd',
    500: '#ea98fb',
    950: '#000000',
  },
}
SCSS
$custom: #ea98fb;
$custom-light: #f2b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea98fb",
  "rgb": {
    "r": 234,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 289.697,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79583,
    "c": 0.16007,
    "h": 320.6
  },
  "luminance": 0.46914
}

Semantic roles & 50–950 ramp

primary
#EA98FB
secondary
#DBF6D5
accent
#E60027
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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