#E97DF7#E97DF7

#E97DF7 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.3% C 0.199 H 322.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#E97DF7
RGBrgb(233, 125, 247)
HSLhsl(293, 88%, 73%)
HSVhsv(293, 49%, 97%)
CMYKcmyk(5.7%, 49.4%, 0%, 3.1%)
CIE-LABlab(68.54, 59.03, -43.60)
CIE-LCHlch(68.54, 73.39, 323.55°)
OKLaboklab(75.33% 0.1591 -0.1203)
OKLCHoklch(75.33% 0.199 322.9)
XYZxyz(57.7247, 38.7089, 92.4086)
Luminance0.3871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97DF7 #8BF77D
analogous
#AC7DF7 #E97DF7 #F77DC8
triadic
#E97DF7 #F7E97D #7DF7E9
tetradic
#E97DF7 #F7AC7D #8BF77D #7DC8F7
square
#E97DF7 #F7AC7D #8BF77D #7DC8F7
split-complementary
#E97DF7 #C8F77D #7DF7AC
monochromatic
#D20EEB #DF43F3 #E97DF7 #F3B7FB #FAE2FD

Accessibility & contrast

On white

2.40
#E97DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#E97DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97DF7
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97DF7#FFFFFF#000000##000000
##E97DF71.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#8CACF3
Tritanopia (blue-blind)
#EC8CAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97df7;
/* rgb */ color: rgb(233, 125, 247);
/* oklch */ color: oklch(75.3% 0.199 322.9);
Tailwind
colors: {
  custom: {
    50: '#f2a6fa',
    500: '#e97df7',
    950: '#000000',
  },
}
SCSS
$custom: #e97df7;
$custom-light: #f2a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e97df7",
  "rgb": {
    "r": 233,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 293.115,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7533,
    "c": 0.19945,
    "h": 322.9
  },
  "luminance": 0.38706
}

Semantic roles & 50–950 ramp

primary
#E97DF7
secondary
#D9F5D6
accent
#E5001B
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E97DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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