#EB97FB#EB97FB

#EB97FB is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.5% C 0.162 H 321.0°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#EB97FB
RGBrgb(235, 151, 251)
HSLhsl(290, 93%, 79%)
HSVhsv(290, 40%, 98%)
CMYKcmyk(6.4%, 39.8%, 0%, 1.6%)
CIE-LABlab(74.04, 47.25, -37.18)
CIE-LCHlch(74.04, 60.13, 321.80°)
OKLaboklab(79.53% 0.1262 -0.1021)
OKLCHoklch(79.53% 0.162 321)
XYZxyz(62.7381, 46.7626, 96.9694)
Luminance0.4676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97FB #A7FB97
analogous
#B997FB #EB97FB #FB97D9
triadic
#EB97FB #FBEB97 #97FBEB
tetradic
#EB97FB #FBB997 #A7FB97 #97D9FB
square
#EB97FB #FBB997 #A7FB97 #97D9FB
split-complementary
#EB97FB #D9FB97 #97FBB9
monochromatic
#D421F6 #E05CF9 #EB97FB #F6D2FD #F9E2FE

Accessibility & contrast

On white

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

On black

10.35
#EB97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97FB
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97FB#FFFFFF#000000##000000
##EB97FB1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eb97fb;
/* rgb */ color: rgb(235, 151, 251);
/* oklch */ color: oklch(79.5% 0.162 321.0);
Tailwind
colors: {
  custom: {
    50: '#f3b7fd',
    500: '#eb97fb',
    950: '#000000',
  },
}
SCSS
$custom: #eb97fb;
$custom-light: #f3b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97fb",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 290.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79534,
    "c": 0.16229,
    "h": 321
  },
  "luminance": 0.4676
}

Semantic roles & 50–950 ramp

primary
#EB97FB
secondary
#DAF6D5
accent
#E60025
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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