#EB97FF#EB97FF

#EB97FF is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.7% C 0.166 H 319.7°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#EB97FF
RGBrgb(235, 151, 255)
HSLhsl(288, 100%, 80%)
HSVhsv(288, 41%, 100%)
CMYKcmyk(7.8%, 40.8%, 0%, 0%)
CIE-LABlab(74.20, 48.02, -39.10)
CIE-LCHlch(74.20, 61.92, 320.85°)
OKLaboklab(79.71% 0.127 -0.1075)
OKLCHoklch(79.71% 0.166 319.7)
XYZxyz(63.3753, 47.0175, 100.3252)
Luminance0.4702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97FF #ABFF97
analogous
#B797FF #EB97FF #FF97DF
triadic
#EB97FF #FFEB97 #97FFEB
tetradic
#EB97FF #FFB797 #ABFF97 #97DFFF
square
#EB97FF #FFB797 #ABFF97 #97DFFF
split-complementary
#EB97FF #DFFF97 #97FFB7
monochromatic
#D31DFF #DF5AFF #EB97FF #F7D4FF #F9E0FF

Accessibility & contrast

On white

2.02
#EB97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#EB97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97FF
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97FF#FFFFFF#000000##000000
##EB97FF1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B1FF
Deuteranopia (green-blind)
#9EBAFC
Tritanopia (blue-blind)
#ECA4BF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #eb97ff;
/* rgb */ color: rgb(235, 151, 255);
/* oklch */ color: oklch(79.7% 0.166 319.7);
Tailwind
colors: {
  custom: {
    50: '#f3b7ff',
    500: '#eb97ff',
    950: '#000000',
  },
}
SCSS
$custom: #eb97ff;
$custom-light: #f3b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97ff",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 288.462,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7971,
    "c": 0.16638,
    "h": 319.7
  },
  "luminance": 0.47015
}

Semantic roles & 50–950 ramp

primary
#EB97FF
secondary
#DBF7D4
accent
#E6002C
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EB97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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