#E97DF2#E97DF2

#E97DF2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.1% C 0.195 H 324.4°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#E97DF2
RGBrgb(233, 125, 242)
HSLhsl(295, 82%, 72%)
HSVhsv(295, 48%, 95%)
CMYKcmyk(3.7%, 48.3%, 0%, 5.1%)
CIE-LABlab(68.32, 58.12, -41.20)
CIE-LCHlch(68.32, 71.24, 324.67°)
OKLaboklab(75.09% 0.1584 -0.1134)
OKLCHoklch(75.09% 0.195 324.4)
XYZxyz(56.9635, 38.4044, 88.3995)
Luminance0.3840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97DF2 #86F27D
analogous
#AF7DF2 #E97DF2 #F27DC0
triadic
#E97DF2 #F2E97D #7DF2E9
tetradic
#E97DF2 #F2AF7D #86F27D #7DC0F2
square
#E97DF2 #F2AF7D #86F27D #7DC0F2
split-complementary
#E97DF2 #C0F27D #7DF2AF
monochromatic
#CF16DE #E045EC #E97DF2 #F2B5F8 #FAE3FC

Accessibility & contrast

On white

2.42
#E97DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#E97DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97DF2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97DF2#FFFFFF#000000##000000
##E97DF21.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#ED8BAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97df2;
/* rgb */ color: rgb(233, 125, 242);
/* oklch */ color: oklch(75.1% 0.195 324.4);
Tailwind
colors: {
  custom: {
    50: '#f2a6f6',
    500: '#e97df2',
    950: '#000000',
  },
}
SCSS
$custom: #e97df2;
$custom-light: #f2a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e97df2",
  "rgb": {
    "r": 233,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 295.385,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75093,
    "c": 0.1948,
    "h": 324.4
  },
  "luminance": 0.38402
}

Semantic roles & 50–950 ramp

primary
#E97DF2
secondary
#D9F4D7
accent
#DE0718
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E97DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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