#EA98DF#EA98DF

#EA98DF is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.4% C 0.133 H 331.6°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#EA98DF
RGBrgb(234, 152, 223)
HSLhsl(308, 66%, 76%)
HSVhsv(308, 35%, 92%)
CMYKcmyk(0%, 35%, 4.7%, 8.2%)
CIE-LABlab(73.08, 41.32, -23.41)
CIE-LCHlch(73.08, 47.49, 330.46°)
OKLaboklab(78.44% 0.117 -0.0631)
OKLCHoklch(78.44% 0.133 331.6)
XYZxyz(58.4785, 45.2793, 75.4572)
Luminance0.4528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA98DF #98EAA3
analogous
#CC98EA #EA98DF #EA98B6
triadic
#EA98DF #DFEA98 #98DFEA
tetradic
#EA98DF #EACC98 #98EAA3 #98B6EA
square
#EA98DF #EACC98 #98EAA3 #98B6EA
split-complementary
#EA98DF #B6EA98 #98EACC
monochromatic
#D532BF #E065CF #EA98DF #F4CBEF #FAE6F7

Accessibility & contrast

On white

2.09
#EA98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#EA98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA98DF
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA98DF#FFFFFF#000000##000000
##EA98DF1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE2
Deuteranopia (green-blind)
#AAB8DC
Tritanopia (blue-blind)
#F19DB2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ea98df;
/* rgb */ color: rgb(234, 152, 223);
/* oklch */ color: oklch(78.4% 0.133 331.6);
Tailwind
colors: {
  custom: {
    50: '#f2b7e9',
    500: '#ea98df',
    950: '#000000',
  },
}
SCSS
$custom: #ea98df;
$custom-light: #f2b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea98df",
  "rgb": {
    "r": 234,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 308.049,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78435,
    "c": 0.13298,
    "h": 331.6
  },
  "luminance": 0.45277
}

Semantic roles & 50–950 ramp

primary
#EA98DF
secondary
#DAF1DD
accent
#CE3018
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EA98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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