#EA98FC#EA98FC

#EA98FC is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.6% C 0.161 H 320.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#EA98FC
RGBrgb(234, 152, 252)
HSLhsl(289, 94%, 79%)
HSVhsv(289, 40%, 99%)
CMYKcmyk(7.1%, 39.7%, 0%, 1.2%)
CIE-LABlab(74.18, 46.63, -37.52)
CIE-LCHlch(74.18, 59.85, 321.18°)
OKLaboklab(79.63% 0.1238 -0.1031)
OKLCHoklch(79.63% 0.161 320.2)
XYZxyz(62.7284, 46.9792, 97.8402)
Luminance0.4698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA98FC #AAFC98
analogous
#B898FC #EA98FC #FC98DC
triadic
#EA98FC #FCEA98 #98FCEA
tetradic
#EA98FC #FCB898 #AAFC98 #98DCFC
square
#EA98FC #FCB898 #AAFC98 #98DCFC
split-complementary
#EA98FC #DCFC98 #98FCB8
monochromatic
#D221F9 #DE5DFA #EA98FC #F6D3FE #F9E1FE

Accessibility & contrast

On white

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

On black

10.40
#EA98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA98FC
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA98FC#FFFFFF#000000##000000
##EA98FC1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea98fc;
/* rgb */ color: rgb(234, 152, 252);
/* oklch */ color: oklch(79.6% 0.161 320.2);
Tailwind
colors: {
  custom: {
    50: '#f2b8fd',
    500: '#ea98fc',
    950: '#000000',
  },
}
SCSS
$custom: #ea98fc;
$custom-light: #f2b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea98fc",
  "rgb": {
    "r": 234,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 289.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79627,
    "c": 0.1611,
    "h": 320.2
  },
  "luminance": 0.46977
}

Semantic roles & 50–950 ramp

primary
#EA98FC
secondary
#DBF6D5
accent
#E60029
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EA98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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