#E97AF1#E97AF1

#E97AF1 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.6% C 0.199 H 324.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#E97AF1
RGBrgb(233, 122, 241)
HSLhsl(296, 81%, 71%)
HSVhsv(296, 49%, 95%)
CMYKcmyk(3.3%, 49.4%, 0%, 5.5%)
CIE-LABlab(67.72, 59.39, -41.58)
CIE-LCHlch(67.72, 72.50, 325.00°)
OKLaboklab(74.64% 0.1622 -0.1145)
OKLCHoklch(74.64% 0.199 324.8)
XYZxyz(56.4396, 37.5964, 87.4860)
Luminance0.3759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97AF1 #82F17A
analogous
#AD7AF1 #E97AF1 #F17ABD
triadic
#E97AF1 #F1E97A #7AF1E9
tetradic
#E97AF1 #F1AD7A #82F17A #7ABDF1
square
#E97AF1 #F1AD7A #82F17A #7ABDF1
split-complementary
#E97AF1 #BDF17A #7AF1AD
monochromatic
#CD17DA #E043EB #E97AF1 #F2B1F7 #FAE3FC

Accessibility & contrast

On white

2.47
#E97AF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#E97AF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97AF1
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97AF1#FFFFFF#000000##000000
##E97AF11.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF5
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#ED88AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e97af1;
/* rgb */ color: rgb(233, 122, 241);
/* oklch */ color: oklch(74.6% 0.199 324.8);
Tailwind
colors: {
  custom: {
    50: '#f2a4f6',
    500: '#e97af1',
    950: '#000000',
  },
}
SCSS
$custom: #e97af1;
$custom-light: #f2a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e97af1",
  "rgb": {
    "r": 233,
    "g": 122,
    "b": 241
  },
  "hsl": {
    "h": 295.966,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74638,
    "c": 0.19859,
    "h": 324.8
  },
  "luminance": 0.37594
}

Semantic roles & 50–950 ramp

primary
#E97AF1
secondary
#D6F3D4
accent
#DD0817
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E97AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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