#E97BF2#E97BF2

#E97BF2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.8% C 0.198 H 324.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#E97BF2
RGBrgb(233, 123, 242)
HSLhsl(295, 82%, 72%)
HSVhsv(295, 49%, 95%)
CMYKcmyk(3.7%, 49.2%, 0%, 5.1%)
CIE-LABlab(67.95, 59.09, -41.78)
CIE-LCHlch(67.95, 72.37, 324.74°)
OKLaboklab(74.82% 0.161 -0.1151)
OKLCHoklch(74.82% 0.198 324.4)
XYZxyz(56.7128, 37.9031, 88.3159)
Luminance0.3790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97BF2 #84F27B
analogous
#AE7BF2 #E97BF2 #F27BC0
triadic
#E97BF2 #F2E97B #7BF2E9
tetradic
#E97BF2 #F2AE7B #84F27B #7BC0F2
square
#E97BF2 #F2AE7B #84F27B #7BC0F2
split-complementary
#E97BF2 #C0F27B #7BF2AE
monochromatic
#CE16DD #E043ED #E97BF2 #F2B3F7 #FAE3FC

Accessibility & contrast

On white

2.45
#E97BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#E97BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97BF2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97BF2#FFFFFF#000000##000000
##E97BF21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#ED89AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97bf2;
/* rgb */ color: rgb(233, 123, 242);
/* oklch */ color: oklch(74.8% 0.198 324.4);
Tailwind
colors: {
  custom: {
    50: '#f2a5f7',
    500: '#e97bf2',
    950: '#000000',
  },
}
SCSS
$custom: #e97bf2;
$custom-light: #f2a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e97bf2",
  "rgb": {
    "r": 233,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 295.462,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74821,
    "c": 0.19794,
    "h": 324.4
  },
  "luminance": 0.379
}

Semantic roles & 50–950 ramp

primary
#E97BF2
secondary
#D7F4D5
accent
#DE0717
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E97BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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