#97259D#97259D

#97259D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.6% C 0.200 H 325.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#97259D
RGBrgb(151, 37, 157)
HSLhsl(297, 62%, 38%)
HSVhsv(297, 76%, 62%)
CMYKcmyk(3.8%, 76.4%, 0%, 38.4%)
CIE-LABlab(38.44, 60.28, -40.29)
CIE-LCHlch(38.44, 72.50, 326.24°)
OKLaboklab(49.57% 0.1652 -0.1121)
OKLCHoklch(49.57% 0.2 325.8)
XYZxyz(19.5095, 10.3381, 32.8596)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97259D #2B9D25
analogous
#5B259D #97259D #9D2567
triadic
#97259D #9D9725 #259D97
tetradic
#97259D #9D5B25 #2B9D25 #25679D
square
#97259D #9D5B25 #2B9D25 #25679D
split-complementary
#97259D #679D25 #259D5B
monochromatic
#380E3A #67196B #97259D #C731CE #D462DA

Accessibility & contrast

On white

6.85
#97259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97259D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97259D#FFFFFF#000000##FFFFFF
##97259D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#9B3A60
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97259d;
/* rgb */ color: rgb(151, 37, 157);
/* oklch */ color: oklch(49.6% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#b96dba',
    500: '#97259d',
    950: '#000000',
  },
}
SCSS
$custom: #97259d;
$custom-light: #b96dba;
$custom-dark: #000000;
JSON
{
  "hex": "#97259d",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 297,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.19963,
    "h": 325.8
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#97259D
secondary
#63BF5E
accent
#E5434B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97259D

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

Preview Lab → · Contrast checker → · Palette generator →

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