#97258B#97258B

#97258B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.186 H 332.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#97258B
RGBrgb(151, 37, 139)
HSLhsl(306, 61%, 37%)
HSVhsv(306, 75%, 59%)
CMYKcmyk(0%, 75.5%, 7.9%, 40.8%)
CIE-LABlab(37.42, 57.31, -30.94)
CIE-LCHlch(37.42, 65.13, 331.64°)
OKLaboklab(48.51% 0.1652 -0.085)
OKLCHoklch(48.51% 0.186 332.8)
XYZxyz(18.0844, 9.7680, 25.3541)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97258B #259731
analogous
#6A2597 #97258B #972552
triadic
#97258B #8B9725 #258B97
tetradic
#97258B #976A25 #259731 #255297
square
#97258B #976A25 #259731 #255297
split-complementary
#97258B #529725 #25976A
monochromatic
#350D31 #66195E #97258B #C831B8 #D85FCB

Accessibility & contrast

On white

7.11
#97258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#97258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97258B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97258B#FFFFFF#000000##FFFFFF
##97258B1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#9E3156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97258b;
/* rgb */ color: rgb(151, 37, 139);
/* oklch */ color: oklch(48.5% 0.186 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96cad',
    500: '#97258b',
    950: '#000000',
  },
}
SCSS
$custom: #97258b;
$custom-light: #b96cad;
$custom-dark: #000000;
JSON
{
  "hex": "#97258b",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 306.316,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.18574,
    "h": 332.8
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#97258B
secondary
#5BBD65
accent
#E45544
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97258B

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

Preview Lab → · Contrast checker → · Palette generator →

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