#E997FC#E997FC

#E997FC is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.4% C 0.162 H 319.9°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#E997FC
RGBrgb(233, 151, 252)
HSLhsl(289, 94%, 79%)
HSVhsv(289, 40%, 99%)
CMYKcmyk(7.5%, 40.1%, 0%, 1.2%)
CIE-LABlab(73.86, 46.86, -38.02)
CIE-LCHlch(73.86, 60.34, 320.95°)
OKLaboklab(79.37% 0.1241 -0.1045)
OKLCHoklch(79.37% 0.162 319.9)
XYZxyz(62.2393, 46.4872, 97.7709)
Luminance0.4648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E997FC #AAFC97
analogous
#B797FC #E997FC #FC97DD
triadic
#E997FC #FCE997 #97FCE9
tetradic
#E997FC #FCB797 #AAFC97 #97DDFC
square
#E997FC #FCB797 #AAFC97 #97DDFC
split-complementary
#E997FC #DDFC97 #97FCB7
monochromatic
#D020F9 #DC5CFA #E997FC #F6D2FE #F9E1FE

Accessibility & contrast

On white

2.04
#E997FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#E997FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E997FC
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E997FC#FFFFFF#000000##000000
##E997FC1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#9EB9F9
Tritanopia (blue-blind)
#EAA3BE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e997fc;
/* rgb */ color: rgb(233, 151, 252);
/* oklch */ color: oklch(79.4% 0.162 319.9);
Tailwind
colors: {
  custom: {
    50: '#f1b7fd',
    500: '#e997fc',
    950: '#000000',
  },
}
SCSS
$custom: #e997fc;
$custom-light: #f1b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e997fc",
  "rgb": {
    "r": 233,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 288.713,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79366,
    "c": 0.16224,
    "h": 319.9
  },
  "luminance": 0.46485
}

Semantic roles & 50–950 ramp

primary
#E997FC
secondary
#DBF6D5
accent
#E6002B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E997FC

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

Preview Lab → · Contrast checker → · Palette generator →

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