#97289D#97289D

#97289D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 325.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#97289D
RGBrgb(151, 40, 157)
HSLhsl(297, 59%, 39%)
HSVhsv(297, 75%, 62%)
CMYKcmyk(3.8%, 74.5%, 0%, 38.4%)
CIE-LABlab(38.78, 59.30, -39.74)
CIE-LCHlch(38.78, 71.39, 326.17°)
OKLaboklab(49.81% 0.1625 -0.1105)
OKLCHoklch(49.81% 0.197 325.8)
XYZxyz(19.6067, 10.5325, 32.8920)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97289D #2E9D28
analogous
#5C289D #97289D #9D2868
triadic
#97289D #9D9728 #289D97
tetradic
#97289D #9D5C28 #2E9D28 #28689D
square
#97289D #9D5C28 #2E9D28 #28689D
split-complementary
#97289D #689D28 #289D5C
monochromatic
#390F3B #681C6C #97289D #C436CC #D267D8

Accessibility & contrast

On white

6.76
#97289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#97289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97289D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97289D#FFFFFF#000000##FFFFFF
##97289D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#9B3C61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97289d;
/* rgb */ color: rgb(151, 40, 157);
/* oklch */ color: oklch(49.8% 0.197 325.8);
Tailwind
colors: {
  custom: {
    50: '#b96eba',
    500: '#97289d',
    950: '#000000',
  },
}
SCSS
$custom: #97289d;
$custom-light: #b96eba;
$custom-dark: #000000;
JSON
{
  "hex": "#97289d",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 296.923,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.19652,
    "h": 325.8
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#97289D
secondary
#67BE62
accent
#E3454D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97289D

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

Preview Lab → · Contrast checker → · Palette generator →

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