#E998FF#E998FF

#E998FF is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.7% C 0.164 H 318.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#E998FF
RGBrgb(233, 152, 255)
HSLhsl(287, 100%, 80%)
HSVhsv(287, 40%, 100%)
CMYKcmyk(8.6%, 40.4%, 0%, 0%)
CIE-LABlab(74.19, 46.92, -39.13)
CIE-LCHlch(74.19, 61.09, 320.17°)
OKLaboklab(79.65% 0.1233 -0.1077)
OKLCHoklch(79.65% 0.164 318.9)
XYZxyz(62.8801, 47.0021, 100.3483)
Luminance0.4700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E998FF #AEFF98
analogous
#B598FF #E998FF #FF98E2
triadic
#E998FF #FFE998 #98FFE9
tetradic
#E998FF #FFB598 #AEFF98 #98E2FF
square
#E998FF #FFB598 #AEFF98 #98E2FF
split-complementary
#E998FF #E2FF98 #98FFB5
monochromatic
#CF1EFF #DC5BFF #E998FF #F6D5FF #F8E0FF

Accessibility & contrast

On white

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

On black

10.40
#E998FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E998FF
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E998FF#FFFFFF#000000##000000
##E998FF1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#9EB9FC
Tritanopia (blue-blind)
#EAA5C0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #e998ff;
/* rgb */ color: rgb(233, 152, 255);
/* oklch */ color: oklch(79.7% 0.164 318.9);
Tailwind
colors: {
  custom: {
    50: '#f1b8ff',
    500: '#e998ff',
    950: '#000000',
  },
}
SCSS
$custom: #e998ff;
$custom-light: #f1b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e998ff",
  "rgb": {
    "r": 233,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 287.184,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79654,
    "c": 0.16369,
    "h": 318.9
  },
  "luminance": 0.47
}

Semantic roles & 50–950 ramp

primary
#E998FF
secondary
#DBF7D4
accent
#E60031
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E998FF

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

Preview Lab → · Contrast checker → · Palette generator →

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