#EB97E2#EB97E2

#EB97E2 is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.5% C 0.138 H 330.7°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#EB97E2
RGBrgb(235, 151, 226)
HSLhsl(306, 68%, 76%)
HSVhsv(306, 36%, 92%)
CMYKcmyk(0%, 35.7%, 3.8%, 7.8%)
CIE-LABlab(73.08, 42.68, -25.03)
CIE-LCHlch(73.08, 49.48, 329.61°)
OKLaboklab(78.5% 0.1204 -0.0677)
OKLCHoklch(78.5% 0.138 330.7)
XYZxyz(59.0542, 45.2890, 77.5678)
Luminance0.4529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97E2 #97EBA0
analogous
#CA97EB #EB97E2 #EB97B8
triadic
#EB97E2 #E2EB97 #97E2EB
tetradic
#EB97E2 #EBCA97 #97EBA0 #97B8EB
square
#EB97E2 #EBCA97 #97EBA0 #97B8EB
split-complementary
#EB97E2 #B8EB97 #97EBCA
monochromatic
#D730C5 #E164D4 #EB97E2 #F5CAF0 #FAE5F8

Accessibility & contrast

On white

2.09
#EB97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#EB97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97E2
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97E2#FFFFFF#000000##000000
##EB97E21.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ACE5
Deuteranopia (green-blind)
#A9B8DF
Tritanopia (blue-blind)
#F19DB3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #eb97e2;
/* rgb */ color: rgb(235, 151, 226);
/* oklch */ color: oklch(78.5% 0.138 330.7);
Tailwind
colors: {
  custom: {
    50: '#f3b7eb',
    500: '#eb97e2',
    950: '#000000',
  },
}
SCSS
$custom: #eb97e2;
$custom-light: #f3b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97e2",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 306.429,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78499,
    "c": 0.13813,
    "h": 330.7
  },
  "luminance": 0.45286
}

Semantic roles & 50–950 ramp

primary
#EB97E2
secondary
#D9F2DC
accent
#D02A16
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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