#97259F#97259F

#97259F is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 325.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#97259F
RGBrgb(151, 37, 159)
HSLhsl(296, 62%, 38%)
HSVhsv(296, 77%, 62%)
CMYKcmyk(5%, 76.7%, 0%, 37.6%)
CIE-LABlab(38.56, 60.62, -41.30)
CIE-LCHlch(38.56, 73.35, 325.73°)
OKLaboklab(49.7% 0.1651 -0.115)
OKLCHoklch(49.7% 0.201 325.1)
XYZxyz(19.6816, 10.4069, 33.7663)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97259F #2D9F25
analogous
#5A259F #97259F #9F256A
triadic
#97259F #9F9725 #259F97
tetradic
#97259F #9F5A25 #2D9F25 #256A9F
square
#97259F #9F5A25 #2D9F25 #256A9F
split-complementary
#97259F #6A9F25 #259F5A
monochromatic
#390E3C #68196D #97259F #C532CF #D364DB

Accessibility & contrast

On white

6.82
#97259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#97259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97259F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97259F#FFFFFF#000000##FFFFFF
##97259F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#405F9C
Tritanopia (blue-blind)
#9A3B61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97259f;
/* rgb */ color: rgb(151, 37, 159);
/* oklch */ color: oklch(49.7% 0.201 325.1);
Tailwind
colors: {
  custom: {
    50: '#b96dbc',
    500: '#97259f',
    950: '#000000',
  },
}
SCSS
$custom: #97259f;
$custom-light: #b96dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#97259f",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 296.066,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.20122,
    "h": 325.1
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#97259F
secondary
#66C05F
accent
#E5424D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97259F

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

Preview Lab → · Contrast checker → · Palette generator →

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