#97289F#97289F

#97289F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 325.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#97289F
RGBrgb(151, 40, 159)
HSLhsl(296, 60%, 39%)
HSVhsv(296, 75%, 62%)
CMYKcmyk(5%, 74.8%, 0%, 37.6%)
CIE-LABlab(38.90, 59.65, -40.76)
CIE-LCHlch(38.90, 72.25, 325.65°)
OKLaboklab(49.94% 0.1624 -0.1135)
OKLCHoklch(49.94% 0.198 325.1)
XYZxyz(19.7788, 10.6014, 33.7987)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97289F #309F28
analogous
#5C289F #97289F #9F286C
triadic
#97289F #9F9728 #289F97
tetradic
#97289F #9F5C28 #309F28 #286C9F
square
#97289F #9F5C28 #309F28 #286C9F
split-complementary
#97289F #6C9F28 #289F5C
monochromatic
#3A0F3D #691C6E #97289F #C337CD #D268D9

Accessibility & contrast

On white

6.73
#97289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#97289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97289F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97289F#FFFFFF#000000##FFFFFF
##97289F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#9A3D62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97289f;
/* rgb */ color: rgb(151, 40, 159);
/* oklch */ color: oklch(49.9% 0.198 325.1);
Tailwind
colors: {
  custom: {
    50: '#b96ebc',
    500: '#97289f',
    950: '#000000',
  },
}
SCSS
$custom: #97289f;
$custom-light: #b96ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#97289f",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 295.966,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.19814,
    "h": 325.1
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#97289F
secondary
#6ABF64
accent
#E3454F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97289F

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

Preview Lab → · Contrast checker → · Palette generator →

#97289F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva