#E97FEF#E97FEF

#E97FEF is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.2% C 0.189 H 325.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#E97FEF
RGBrgb(233, 127, 239)
HSLhsl(297, 78%, 72%)
HSVhsv(297, 47%, 94%)
CMYKcmyk(2.5%, 46.9%, 0%, 6.3%)
CIE-LABlab(68.56, 56.60, -39.17)
CIE-LCHlch(68.56, 68.83, 325.31°)
OKLaboklab(75.23% 0.1552 -0.1076)
OKLCHoklch(75.23% 0.189 325.3)
XYZxyz(56.7723, 38.7371, 86.1312)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FEF #85EF7F
analogous
#B17FEF #E97FEF #EF7FBD
triadic
#E97FEF #EFE97F #7FEFE9
tetradic
#E97FEF #EFB17F #85EF7F #7FBDEF
square
#E97FEF #EFB17F #85EF7F #7FBDEF
split-complementary
#E97FEF #BDEF7F #7FEFB1
monochromatic
#CE1BD9 #E049E8 #E97FEF #F2B5F6 #FAE4FC

Accessibility & contrast

On white

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

On black

8.75
#E97FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FEF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FEF#FFFFFF#000000##000000
##E97FEF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#EE8CAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97fef;
/* rgb */ color: rgb(233, 127, 239);
/* oklch */ color: oklch(75.2% 0.189 325.3);
Tailwind
colors: {
  custom: {
    50: '#f2a7f4',
    500: '#e97fef',
    950: '#000000',
  },
}
SCSS
$custom: #e97fef;
$custom-light: #f2a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fef",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 296.786,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7523,
    "c": 0.18886,
    "h": 325.3
  },
  "luminance": 0.38734
}

Semantic roles & 50–950 ramp

primary
#E97FEF
secondary
#D8F3D7
accent
#DA0B17
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E97FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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