#EE98F2#EE98F2

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

Color values

HEX#EE98F2
RGBrgb(238, 152, 242)
HSLhsl(297, 78%, 77%)
HSVhsv(297, 37%, 95%)
CMYKcmyk(1.7%, 37.2%, 0%, 5.1%)
CIE-LABlab(74.22, 45.95, -31.99)
CIE-LCHlch(74.22, 55.99, 325.15°)
OKLaboklab(79.63% 0.1262 -0.0872)
OKLCHoklch(79.63% 0.153 325.3)
XYZxyz(62.5137, 47.0469, 89.7752)
Luminance0.4704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE98F2 #9CF298
analogous
#C198F2 #EE98F2 #F298C9
triadic
#EE98F2 #F2EE98 #98F2EE
tetradic
#EE98F2 #F2C198 #9CF298 #98C9F2
square
#EE98F2 #F2C198 #9CF298 #98C9F2
split-complementary
#EE98F2 #C9F298 #98F2C1
monochromatic
#DC2BE4 #E562EB #EE98F2 #F7CEF9 #FBE4FC

Accessibility & contrast

On white

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

On black

10.41
#EE98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE98F2
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE98F2#FFFFFF#000000##000000
##EE98F21.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#A6BAEF
Tritanopia (blue-blind)
#F2A1BA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ee98f2;
/* rgb */ color: rgb(238, 152, 242);
/* oklch */ color: oklch(79.6% 0.153 325.3);
Tailwind
colors: {
  custom: {
    50: '#f5b8f6',
    500: '#ee98f2',
    950: '#000000',
  },
}
SCSS
$custom: #ee98f2;
$custom-light: #f5b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ee98f2",
  "rgb": {
    "r": 238,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 297.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79627,
    "c": 0.15341,
    "h": 325.3
  },
  "luminance": 0.47044
}

Semantic roles & 50–950 ramp

primary
#EE98F2
secondary
#D9F3D8
accent
#DA0C15
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EE98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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