#E997FB#E997FB

#E997FB is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.3% C 0.161 H 320.2°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#E997FB
RGBrgb(233, 151, 251)
HSLhsl(289, 93%, 79%)
HSVhsv(289, 40%, 98%)
CMYKcmyk(7.2%, 39.8%, 0%, 1.6%)
CIE-LABlab(73.82, 46.67, -37.54)
CIE-LCHlch(73.82, 59.89, 321.19°)
OKLaboklab(79.32% 0.1239 -0.1031)
OKLCHoklch(79.32% 0.161 320.2)
XYZxyz(62.0813, 46.4239, 96.9386)
Luminance0.4642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E997FB #A9FB97
analogous
#B797FB #E997FB #FB97DB
triadic
#E997FB #FBE997 #97FBE9
tetradic
#E997FB #FBB797 #A9FB97 #97DBFB
square
#E997FB #FBB797 #A9FB97 #97DBFB
split-complementary
#E997FB #DBFB97 #97FBB7
monochromatic
#D021F6 #DD5CF9 #E997FB #F5D2FD #F9E2FE

Accessibility & contrast

On white

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

On black

10.28
#E997FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E997FB
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E997FB#FFFFFF#000000##000000
##E997FB1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#9FB8F8
Tritanopia (blue-blind)
#EBA3BD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e997fb;
/* rgb */ color: rgb(233, 151, 251);
/* oklch */ color: oklch(79.3% 0.161 320.2);
Tailwind
colors: {
  custom: {
    50: '#f1b7fd',
    500: '#e997fb',
    950: '#000000',
  },
}
SCSS
$custom: #e997fb;
$custom-light: #f1b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e997fb",
  "rgb": {
    "r": 233,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 289.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79322,
    "c": 0.1612,
    "h": 320.2
  },
  "luminance": 0.46422
}

Semantic roles & 50–950 ramp

primary
#E997FB
secondary
#DBF6D5
accent
#E60029
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E997FB

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

Preview Lab → · Contrast checker → · Palette generator →

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