#E97EDF#E97EDF

#E97EDF is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.176 H 330.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#E97EDF
RGBrgb(233, 126, 223)
HSLhsl(306, 71%, 70%)
HSVhsv(306, 46%, 91%)
CMYKcmyk(0%, 45.9%, 4.3%, 8.6%)
CIE-LABlab(67.71, 54.29, -31.67)
CIE-LCHlch(67.71, 62.85, 329.75°)
OKLaboklab(74.38% 0.1537 -0.0862)
OKLCHoklch(74.38% 0.176 330.7)
XYZxyz(54.3839, 37.5762, 74.1861)
Luminance0.3757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97EDF #7EE988
analogous
#BD7EE9 #E97EDF #E97EAA
triadic
#E97EDF #DFE97E #7EDFE9
tetradic
#E97EDF #E9BD7E #7EE988 #7EAAE9
square
#E97EDF #E9BD7E #7EE988 #7EAAE9
split-complementary
#E97EDF #AAE97E #7EE9BD
monochromatic
#CA22BA #E04AD2 #E97EDF #F2B2EC #FBE5F9

Accessibility & contrast

On white

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

On black

8.51
#E97EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97EDF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97EDF#FFFFFF#000000##000000
##E97EDF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE2
Deuteranopia (green-blind)
#97AADC
Tritanopia (blue-blind)
#F086A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e97edf;
/* rgb */ color: rgb(233, 126, 223);
/* oklch */ color: oklch(74.4% 0.176 330.7);
Tailwind
colors: {
  custom: {
    50: '#f2a6e9',
    500: '#e97edf',
    950: '#000000',
  },
}
SCSS
$custom: #e97edf;
$custom-light: #f2a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e97edf",
  "rgb": {
    "r": 233,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 305.607,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74378,
    "c": 0.17622,
    "h": 330.7
  },
  "luminance": 0.37573
}

Semantic roles & 50–950 ramp

primary
#E97EDF
secondary
#D3F0D5
accent
#D32513
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E97EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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