#EB97F7#EB97F7

#EB97F7 is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.4% C 0.158 H 322.4°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#EB97F7
RGBrgb(235, 151, 247)
HSLhsl(293, 86%, 78%)
HSVhsv(293, 39%, 97%)
CMYKcmyk(4.9%, 38.9%, 0%, 3.1%)
CIE-LABlab(73.88, 46.50, -35.26)
CIE-LCHlch(73.88, 58.36, 322.82°)
OKLaboklab(79.36% 0.1253 -0.0966)
OKLCHoklch(79.36% 0.158 322.4)
XYZxyz(62.1142, 46.5130, 93.6836)
Luminance0.4651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97F7 #A3F797
analogous
#BB97F7 #EB97F7 #F797D3
triadic
#EB97F7 #F7EB97 #97F7EB
tetradic
#EB97F7 #F7BB97 #A3F797 #97D3F7
square
#EB97F7 #F7BB97 #A3F797 #97D3F7
split-complementary
#EB97F7 #D3F797 #97F7BB
monochromatic
#D525EE #E05EF3 #EB97F7 #F6D0FB #FAE3FD

Accessibility & contrast

On white

2.04
#EB97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#EB97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97F7
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97F7#FFFFFF#000000##000000
##EB97F71.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFFB
Deuteranopia (green-blind)
#A2B9F4
Tritanopia (blue-blind)
#EEA2BC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #eb97f7;
/* rgb */ color: rgb(235, 151, 247);
/* oklch */ color: oklch(79.4% 0.158 322.4);
Tailwind
colors: {
  custom: {
    50: '#f3b7fa',
    500: '#eb97f7',
    950: '#000000',
  },
}
SCSS
$custom: #eb97f7;
$custom-light: #f3b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97f7",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 292.5,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7936,
    "c": 0.15825,
    "h": 322.4
  },
  "luminance": 0.46511
}

Semantic roles & 50–950 ramp

primary
#EB97F7
secondary
#DAF5D6
accent
#E2031F
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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