#E98DFC#E98DFC

#E98DFC is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.8% C 0.179 H 320.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#E98DFC
RGBrgb(233, 141, 252)
HSLhsl(290, 95%, 77%)
HSVhsv(290, 44%, 99%)
CMYKcmyk(7.5%, 44%, 0%, 1.2%)
CIE-LABlab(71.83, 52.00, -41.18)
CIE-LCHlch(71.83, 66.34, 321.62°)
OKLaboklab(77.84% 0.1381 -0.1135)
OKLCHoklch(77.84% 0.179 320.6)
XYZxyz(60.6977, 43.4039, 97.2571)
Luminance0.4340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E98DFC #A0FC8D
analogous
#B28DFC #E98DFC #FC8DD7
triadic
#E98DFC #FCE98D #8DFCE9
tetradic
#E98DFC #FCB28D #A0FC8D #8DD7FC
square
#E98DFC #FCB28D #A0FC8D #8DD7FC
split-complementary
#E98DFC #D7FC8D #8DFCB2
monochromatic
#D216F9 #DD51FA #E98DFC #F5C9FE #F9E1FE

Accessibility & contrast

On white

2.17
#E98DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#E98DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E98DFC
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E98DFC#FFFFFF#000000##000000
##E98DFC1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#EB9BB9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e98dfc;
/* rgb */ color: rgb(233, 141, 252);
/* oklch */ color: oklch(77.8% 0.179 320.6);
Tailwind
colors: {
  custom: {
    50: '#f2b0fd',
    500: '#e98dfc',
    950: '#000000',
  },
}
SCSS
$custom: #e98dfc;
$custom-light: #f2b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e98dfc",
  "rgb": {
    "r": 233,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 289.73,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77844,
    "c": 0.17873,
    "h": 320.6
  },
  "luminance": 0.43402
}

Semantic roles & 50–950 ramp

primary
#E98DFC
secondary
#DAF6D5
accent
#E60027
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E98DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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