#97259E#97259E

#97259E is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.200 H 325.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#97259E
RGBrgb(151, 37, 158)
HSLhsl(297, 62%, 38%)
HSVhsv(297, 77%, 62%)
CMYKcmyk(4.4%, 76.6%, 0%, 38%)
CIE-LABlab(38.50, 60.45, -40.79)
CIE-LCHlch(38.50, 72.93, 325.99°)
OKLaboklab(49.63% 0.1651 -0.1136)
OKLCHoklch(49.63% 0.2 325.5)
XYZxyz(19.5952, 10.3724, 33.3111)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97259E #2C9E25
analogous
#5A259E #97259E #9E2568
triadic
#97259E #9E9725 #259E97
tetradic
#97259E #9E5A25 #2C9E25 #25689E
square
#97259E #9E5A25 #2C9E25 #25689E
split-complementary
#97259E #689E25 #259E5A
monochromatic
#380E3B #68196C #97259E #C631CF #D463DA

Accessibility & contrast

On white

6.83
#97259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#97259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97259E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97259E#FFFFFF#000000##FFFFFF
##97259E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#9B3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97259e;
/* rgb */ color: rgb(151, 37, 158);
/* oklch */ color: oklch(49.6% 0.200 325.5);
Tailwind
colors: {
  custom: {
    50: '#b96dbb',
    500: '#97259e',
    950: '#000000',
  },
}
SCSS
$custom: #97259e;
$custom-light: #b96dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#97259e",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 296.529,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.20042,
    "h": 325.5
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#97259E
secondary
#65C05F
accent
#E5434C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97259E

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

Preview Lab → · Contrast checker → · Palette generator →

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