#EB97EC#EB97EC

#EB97EC is a light, vivid purple. Relative luminance 0.459; OKLCH L 78.9% C 0.147 H 326.5°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#EB97EC
RGBrgb(235, 151, 236)
HSLhsl(299, 69%, 76%)
HSVhsv(299, 36%, 93%)
CMYKcmyk(0.4%, 36%, 0%, 7.5%)
CIE-LABlab(73.45, 44.46, -29.93)
CIE-LCHlch(73.45, 53.60, 326.05°)
OKLaboklab(78.9% 0.1229 -0.0815)
OKLCHoklch(78.9% 0.147 326.5)
XYZxyz(60.4666, 45.8540, 85.0062)
Luminance0.4585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97EC #98EC97
analogous
#C097EC #EB97EC #EC97C2
triadic
#EB97EC #ECEB97 #97ECEB
tetradic
#EB97EC #ECC097 #98EC97 #97C2EC
square
#EB97EC #ECC097 #98EC97 #97C2EC
split-complementary
#EB97EC #C2EC97 #97ECC0
monochromatic
#D730D9 #E163E3 #EB97EC #F5CBF5 #FAE5FA

Accessibility & contrast

On white

2.06
#EB97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#EB97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97EC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97EC#FFFFFF#000000##000000
##EB97EC1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEEF
Deuteranopia (green-blind)
#A6B8E9
Tritanopia (blue-blind)
#F09FB7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #eb97ec;
/* rgb */ color: rgb(235, 151, 236);
/* oklch */ color: oklch(78.9% 0.147 326.5);
Tailwind
colors: {
  custom: {
    50: '#f3b7f2',
    500: '#eb97ec',
    950: '#000000',
  },
}
SCSS
$custom: #eb97ec;
$custom-light: #f3b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97ec",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 299.294,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78899,
    "c": 0.14743,
    "h": 326.5
  },
  "luminance": 0.45852
}

Semantic roles & 50–950 ramp

primary
#EB97EC
secondary
#D9F2D9
accent
#D11417
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EB97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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