#E97AF2#E97AF2

#E97AF2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.7% C 0.199 H 324.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#E97AF2
RGBrgb(233, 122, 242)
HSLhsl(296, 82%, 71%)
HSVhsv(296, 50%, 95%)
CMYKcmyk(3.7%, 49.6%, 0%, 5.1%)
CIE-LABlab(67.77, 59.57, -42.06)
CIE-LCHlch(67.77, 72.92, 324.77°)
OKLaboklab(74.69% 0.1624 -0.1159)
OKLCHoklch(74.69% 0.199 324.5)
XYZxyz(56.5894, 37.6563, 88.2748)
Luminance0.3765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97AF2 #83F27A
analogous
#AD7AF2 #E97AF2 #F27ABF
triadic
#E97AF2 #F2E97A #7AF2E9
tetradic
#E97AF2 #F2AD7A #83F27A #7ABFF2
square
#E97AF2 #F2AD7A #83F27A #7ABFF2
split-complementary
#E97AF2 #BFF27A #7AF2AD
monochromatic
#CD16DC #E042ED #E97AF2 #F2B2F7 #FAE3FC

Accessibility & contrast

On white

2.46
#E97AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#E97AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97AF2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97AF2#FFFFFF#000000##000000
##E97AF21.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e97af2;
/* rgb */ color: rgb(233, 122, 242);
/* oklch */ color: oklch(74.7% 0.199 324.5);
Tailwind
colors: {
  custom: {
    50: '#f2a4f7',
    500: '#e97af2',
    950: '#000000',
  },
}
SCSS
$custom: #e97af2;
$custom-light: #f2a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e97af2",
  "rgb": {
    "r": 233,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 295.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.19949,
    "h": 324.5
  },
  "luminance": 0.37654
}

Semantic roles & 50–950 ramp

primary
#E97AF2
secondary
#D7F3D4
accent
#DF0717
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E97AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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