#EB97F4#EB97F4

#EB97F4 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.2% C 0.155 H 323.4°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#EB97F4
RGBrgb(235, 151, 244)
HSLhsl(294, 81%, 77%)
HSVhsv(294, 38%, 96%)
CMYKcmyk(3.7%, 38.1%, 0%, 4.3%)
CIE-LABlab(73.76, 45.93, -33.82)
CIE-LCHlch(73.76, 57.04, 323.64°)
OKLaboklab(79.23% 0.1247 -0.0925)
OKLCHoklch(79.23% 0.155 323.4)
XYZxyz(61.6550, 46.3294, 91.2651)
Luminance0.4633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97F4 #A0F497
analogous
#BD97F4 #EB97F4 #F497CE
triadic
#EB97F4 #F4EB97 #97F4EB
tetradic
#EB97F4 #F4BD97 #A0F497 #97CEF4
square
#EB97F4 #F4BD97 #A0F497 #97CEF4
split-complementary
#EB97F4 #CEF497 #97F4BD
monochromatic
#D628E8 #E060EE #EB97F4 #F6CEFA #FAE3FC

Accessibility & contrast

On white

2.05
#EB97F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#EB97F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97F4
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97F4#FFFFFF#000000##000000
##EB97F41.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF7
Deuteranopia (green-blind)
#A3B9F1
Tritanopia (blue-blind)
#EEA1BA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #eb97f4;
/* rgb */ color: rgb(235, 151, 244);
/* oklch */ color: oklch(79.2% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#f3b7f8',
    500: '#eb97f4',
    950: '#000000',
  },
}
SCSS
$custom: #eb97f4;
$custom-light: #f3b7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97f4",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 294.194,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79232,
    "c": 0.15525,
    "h": 323.4
  },
  "luminance": 0.46327
}

Semantic roles & 50–950 ramp

primary
#EB97F4
secondary
#DAF4D7
accent
#DD081D
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB97F4

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

Preview Lab → · Contrast checker → · Palette generator →

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