#E98AFE#E98AFE

#E98AFE is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.5% C 0.186 H 320.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#E98AFE
RGBrgb(233, 138, 254)
HSLhsl(289, 98%, 77%)
HSVhsv(289, 46%, 100%)
CMYKcmyk(8.3%, 45.7%, 0%, 0.4%)
CIE-LABlab(71.32, 53.90, -43.06)
CIE-LCHlch(71.32, 68.99, 321.38°)
OKLaboklab(77.5% 0.1425 -0.1189)
OKLCHoklch(77.5% 0.186 320.2)
XYZxyz(60.5799, 42.6586, 98.7895)
Luminance0.4266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E98AFE #9FFE8A
analogous
#AF8AFE #E98AFE #FE8AD9
triadic
#E98AFE #FEE98A #8AFEE9
tetradic
#E98AFE #FEAF8A #9FFE8A #8AD9FE
square
#E98AFE #FEAF8A #9FFE8A #8AD9FE
split-complementary
#E98AFE #D9FE8A #8AFEAF
monochromatic
#D211FD #DE4DFD #E98AFE #F4C7FF #F9E1FF

Accessibility & contrast

On white

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

On black

9.53
#E98AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E98AFE
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E98AFE#FFFFFF#000000##000000
##E98AFE1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#93B2FB
Tritanopia (blue-blind)
#EA99B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e98afe;
/* rgb */ color: rgb(233, 138, 254);
/* oklch */ color: oklch(77.5% 0.186 320.2);
Tailwind
colors: {
  custom: {
    50: '#f2afff',
    500: '#e98afe',
    950: '#000000',
  },
}
SCSS
$custom: #e98afe;
$custom-light: #f2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#e98afe",
  "rgb": {
    "r": 233,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 289.138,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77496,
    "c": 0.18559,
    "h": 320.2
  },
  "luminance": 0.42656
}

Semantic roles & 50–950 ramp

primary
#E98AFE
secondary
#DAF7D4
accent
#E6002A
background
#FFFAFF
surface
#FEF5FF
border
#D6CFD7
text
#171118
muted
#858086

Preview Lab

Preview with #E98AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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