#97259B#97259B

#97259B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.198 H 326.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#97259B
RGBrgb(151, 37, 155)
HSLhsl(298, 61%, 38%)
HSVhsv(298, 76%, 61%)
CMYKcmyk(2.6%, 76.1%, 0%, 39.2%)
CIE-LABlab(38.32, 59.94, -39.27)
CIE-LCHlch(38.32, 71.65, 326.77°)
OKLaboklab(49.45% 0.1653 -0.1091)
OKLCHoklch(49.45% 0.198 326.6)
XYZxyz(19.3401, 10.2704, 31.9677)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97259B #299B25
analogous
#5C259B #97259B #9B2564
triadic
#97259B #9B9725 #259B97
tetradic
#97259B #9B5C25 #299B25 #25649B
square
#97259B #9B5C25 #299B25 #25649B
split-complementary
#97259B #649B25 #259B5C
monochromatic
#370D38 #67196A #97259B #C731CC #D561D9

Accessibility & contrast

On white

6.88
#97259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#97259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97259B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97259B#FFFFFF#000000##FFFFFF
##97259B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#9B395F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97259b;
/* rgb */ color: rgb(151, 37, 155);
/* oklch */ color: oklch(49.4% 0.198 326.6);
Tailwind
colors: {
  custom: {
    50: '#b96db9',
    500: '#97259b',
    950: '#000000',
  },
}
SCSS
$custom: #97259b;
$custom-light: #b96db9;
$custom-dark: #000000;
JSON
{
  "hex": "#97259b",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 297.966,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.19804,
    "h": 326.6
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#97259B
secondary
#61BF5D
accent
#E54349
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97259B

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

Preview Lab → · Contrast checker → · Palette generator →

#97259B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva