#EB97FC#EB97FC

#EB97FC is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.6% C 0.163 H 320.7°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#EB97FC
RGBrgb(235, 151, 252)
HSLhsl(290, 94%, 79%)
HSVhsv(290, 40%, 99%)
CMYKcmyk(6.7%, 40.1%, 0%, 1.2%)
CIE-LABlab(74.08, 47.44, -37.66)
CIE-LCHlch(74.08, 60.58, 321.55°)
OKLaboklab(79.58% 0.1264 -0.1034)
OKLCHoklch(79.58% 0.163 320.7)
XYZxyz(62.8961, 46.8258, 97.8017)
Luminance0.4682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97FC #A8FC97
analogous
#B997FC #EB97FC #FC97DB
triadic
#EB97FC #FCEB97 #97FCEB
tetradic
#EB97FC #FCB997 #A8FC97 #97DBFC
square
#EB97FC #FCB997 #A8FC97 #97DBFC
split-complementary
#EB97FC #DBFC97 #97FCB9
monochromatic
#D420F9 #E05CFA #EB97FC #F6D2FE #F9E1FE

Accessibility & contrast

On white

2.03
#EB97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#EB97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97FC
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97FC#FFFFFF#000000##000000
##EB97FC1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#A0B9F9
Tritanopia (blue-blind)
#EDA3BE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #eb97fc;
/* rgb */ color: rgb(235, 151, 252);
/* oklch */ color: oklch(79.6% 0.163 320.7);
Tailwind
colors: {
  custom: {
    50: '#f3b7fd',
    500: '#eb97fc',
    950: '#000000',
  },
}
SCSS
$custom: #eb97fc;
$custom-light: #f3b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97fc",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 289.901,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79577,
    "c": 0.16331,
    "h": 320.7
  },
  "luminance": 0.46824
}

Semantic roles & 50–950 ramp

primary
#EB97FC
secondary
#DAF6D5
accent
#E60027
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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