#EB97E4#EB97E4

#EB97E4 is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.6% C 0.140 H 329.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#EB97E4
RGBrgb(235, 151, 228)
HSLhsl(305, 68%, 76%)
HSVhsv(305, 36%, 92%)
CMYKcmyk(0%, 35.7%, 3%, 7.8%)
CIE-LABlab(73.15, 43.03, -26.02)
CIE-LCHlch(73.15, 50.28, 328.84°)
OKLaboklab(78.58% 0.1209 -0.0704)
OKLCHoklch(78.58% 0.14 329.8)
XYZxyz(59.3302, 45.3995, 79.0215)
Luminance0.4540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97E4 #97EB9E
analogous
#C897EB #EB97E4 #EB97BA
triadic
#EB97E4 #E4EB97 #97E4EB
tetradic
#EB97E4 #EBC897 #97EB9E #97BAEB
square
#EB97E4 #EBC897 #97EB9E #97BAEB
split-complementary
#EB97E4 #BAEB97 #97EBC8
monochromatic
#D730C9 #E164D7 #EB97E4 #F5CAF1 #FAE5F8

Accessibility & contrast

On white

2.08
#EB97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#EB97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97E4
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97E4#FFFFFF#000000##000000
##EB97E41.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ADE7
Deuteranopia (green-blind)
#A9B8E1
Tritanopia (blue-blind)
#F19DB4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #eb97e4;
/* rgb */ color: rgb(235, 151, 228);
/* oklch */ color: oklch(78.6% 0.140 329.8);
Tailwind
colors: {
  custom: {
    50: '#f3b7ec',
    500: '#eb97e4',
    950: '#000000',
  },
}
SCSS
$custom: #eb97e4;
$custom-light: #f3b7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97e4",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 305,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78578,
    "c": 0.13995,
    "h": 329.8
  },
  "luminance": 0.45397
}

Semantic roles & 50–950 ramp

primary
#EB97E4
secondary
#D9F2DB
accent
#D02516
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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