#EB97DF#EB97DF

#EB97DF is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.4% C 0.135 H 332.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#EB97DF
RGBrgb(235, 151, 223)
HSLhsl(309, 68%, 76%)
HSVhsv(309, 36%, 92%)
CMYKcmyk(0%, 35.7%, 5.1%, 7.8%)
CIE-LABlab(72.97, 42.16, -23.55)
CIE-LCHlch(72.97, 48.29, 330.81°)
OKLaboklab(78.38% 0.1196 -0.0635)
OKLCHoklch(78.38% 0.135 332)
XYZxyz(58.6462, 45.1258, 75.4188)
Luminance0.4512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97DF #97EBA3
analogous
#CD97EB #EB97DF #EB97B5
triadic
#EB97DF #DFEB97 #97DFEB
tetradic
#EB97DF #EBCD97 #97EBA3 #97B5EB
square
#EB97DF #EBCD97 #97EBA3 #97B5EB
split-complementary
#EB97DF #B5EB97 #97EBCD
monochromatic
#D730BF #E164CF #EB97DF #F5CAEF #FAE5F7

Accessibility & contrast

On white

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

On black

10.02
#EB97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97DF
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97DF#FFFFFF#000000##000000
##EB97DF1.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ACE2
Deuteranopia (green-blind)
#AAB7DC
Tritanopia (blue-blind)
#F29CB1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #eb97df;
/* rgb */ color: rgb(235, 151, 223);
/* oklch */ color: oklch(78.4% 0.135 332.0);
Tailwind
colors: {
  custom: {
    50: '#f3b7e9',
    500: '#eb97df',
    950: '#000000',
  },
}
SCSS
$custom: #eb97df;
$custom-light: #f3b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97df",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 308.571,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78383,
    "c": 0.13545,
    "h": 332
  },
  "luminance": 0.45123
}

Semantic roles & 50–950 ramp

primary
#EB97DF
secondary
#D9F2DD
accent
#D03016
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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