#E98DF2#E98DF2

#E98DF2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.4% C 0.169 H 323.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#E98DF2
RGBrgb(233, 141, 242)
HSLhsl(295, 80%, 75%)
HSVhsv(295, 42%, 95%)
CMYKcmyk(3.7%, 41.7%, 0%, 5.1%)
CIE-LABlab(71.41, 50.13, -36.38)
CIE-LCHlch(71.41, 61.94, 324.03°)
OKLaboklab(77.4% 0.1363 -0.0998)
OKLCHoklch(77.4% 0.169 323.8)
XYZxyz(59.1546, 42.7866, 89.1299)
Luminance0.4278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E98DF2 #96F28D
analogous
#B68DF2 #E98DF2 #F28DC9
triadic
#E98DF2 #F2E98D #8DF2E9
tetradic
#E98DF2 #F2B68D #96F28D #8DC9F2
square
#E98DF2 #F2B68D #96F28D #8DC9F2
split-complementary
#E98DF2 #C9F28D #8DF2B6
monochromatic
#D41FE5 #DE56EC #E98DF2 #F4C4F8 #FAE4FC

Accessibility & contrast

On white

2.20
#E98DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#E98DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E98DF2
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E98DF2#FFFFFF#000000##000000
##E98DF21.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#ED98B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e98df2;
/* rgb */ color: rgb(233, 141, 242);
/* oklch */ color: oklch(77.4% 0.169 323.8);
Tailwind
colors: {
  custom: {
    50: '#f2b0f6',
    500: '#e98df2',
    950: '#000000',
  },
}
SCSS
$custom: #e98df2;
$custom-light: #f2b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e98df2",
  "rgb": {
    "r": 233,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 294.653,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77395,
    "c": 0.16888,
    "h": 323.8
  },
  "luminance": 0.42784
}

Semantic roles & 50–950 ramp

primary
#E98DF2
secondary
#DAF4D7
accent
#DC0A1C
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #E98DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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