#EB97FE#EB97FE

#EB97FE is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.7% C 0.165 H 320.0°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#EB97FE
RGBrgb(235, 151, 254)
HSLhsl(289, 98%, 79%)
HSVhsv(289, 41%, 100%)
CMYKcmyk(7.5%, 40.6%, 0%, 0.4%)
CIE-LABlab(74.16, 47.83, -38.62)
CIE-LCHlch(74.16, 61.47, 321.08°)
OKLaboklab(79.66% 0.1268 -0.1062)
OKLCHoklch(79.66% 0.165 320)
XYZxyz(63.2147, 46.9532, 99.4797)
Luminance0.4695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97FE #AAFE97
analogous
#B897FE #EB97FE #FE97DE
triadic
#EB97FE #FEEB97 #97FEEB
tetradic
#EB97FE #FEB897 #AAFE97 #97DEFE
square
#EB97FE #FEB897 #AAFE97 #97DEFE
split-complementary
#EB97FE #DEFE97 #97FEB8
monochromatic
#D41EFD #DF5AFD #EB97FE #F7D4FF #F9E1FF

Accessibility & contrast

On white

2.02
#EB97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#EB97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97FE
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97FE#FFFFFF#000000##000000
##EB97FE1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#9FB9FB
Tritanopia (blue-blind)
#ECA4BF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #eb97fe;
/* rgb */ color: rgb(235, 151, 254);
/* oklch */ color: oklch(79.7% 0.165 320.0);
Tailwind
colors: {
  custom: {
    50: '#f3b7ff',
    500: '#eb97fe',
    950: '#000000',
  },
}
SCSS
$custom: #eb97fe;
$custom-light: #f3b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97fe",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 288.932,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79665,
    "c": 0.16535,
    "h": 320
  },
  "luminance": 0.46951
}

Semantic roles & 50–950 ramp

primary
#EB97FE
secondary
#DAF7D4
accent
#E6002A
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EB97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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