#EB97EB#EB97EB

#EB97EB is a light, vivid purple. Relative luminance 0.458; OKLCH L 78.9% C 0.146 H 326.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#EB97EB
RGBrgb(235, 151, 235)
HSLhsl(300, 68%, 76%)
HSVhsv(300, 36%, 92%)
CMYKcmyk(0%, 35.7%, 0%, 7.8%)
CIE-LABlab(73.41, 44.28, -29.45)
CIE-LCHlch(73.41, 53.18, 326.38°)
OKLaboklab(78.86% 0.1227 -0.0801)
OKLCHoklch(78.86% 0.146 326.9)
XYZxyz(60.3217, 45.7960, 84.2432)
Luminance0.4579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97EB #97EB97
analogous
#C197EB #EB97EB #EB97C1
triadic
#EB97EB #EBEB97 #97EBEB
tetradic
#EB97EB #EBC197 #97EB97 #97C1EB
square
#EB97EB #EBC197 #97EB97 #97C1EB
split-complementary
#EB97EB #C1EB97 #97EBC1
monochromatic
#D730D7 #E164E1 #EB97EB #F5CAF5 #FAE5FA

Accessibility & contrast

On white

2.07
#EB97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#EB97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97EB
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97EB#FFFFFF#000000##000000
##EB97EB1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#A6B8E8
Tritanopia (blue-blind)
#F09FB6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #eb97eb;
/* rgb */ color: rgb(235, 151, 235);
/* oklch */ color: oklch(78.9% 0.146 326.9);
Tailwind
colors: {
  custom: {
    50: '#f3b7f1',
    500: '#eb97eb',
    950: '#000000',
  },
}
SCSS
$custom: #eb97eb;
$custom-light: #f3b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97eb",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 300,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78858,
    "c": 0.14648,
    "h": 326.9
  },
  "luminance": 0.45794
}

Semantic roles & 50–950 ramp

primary
#EB97EB
secondary
#D9F2D9
accent
#D01616
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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