#97259C#97259C

#97259C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.199 H 326.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#97259C
RGBrgb(151, 37, 156)
HSLhsl(297, 62%, 38%)
HSVhsv(297, 76%, 61%)
CMYKcmyk(3.2%, 76.3%, 0%, 38.8%)
CIE-LABlab(38.38, 60.11, -39.78)
CIE-LCHlch(38.38, 72.08, 326.50°)
OKLaboklab(49.51% 0.1652 -0.1106)
OKLCHoklch(49.51% 0.199 326.2)
XYZxyz(19.4244, 10.3041, 32.4118)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97259C #2A9C25
analogous
#5B259C #97259C #9C2565
triadic
#97259C #9C9725 #259C97
tetradic
#97259C #9C5B25 #2A9C25 #25659C
square
#97259C #9C5B25 #2A9C25 #25659C
split-complementary
#97259C #659C25 #259C5B
monochromatic
#370E39 #67196B #97259C #C731CD #D562DA

Accessibility & contrast

On white

6.86
#97259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#97259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97259C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97259C#FFFFFF#000000##FFFFFF
##97259C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#9B3A5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97259c;
/* rgb */ color: rgb(151, 37, 156);
/* oklch */ color: oklch(49.5% 0.199 326.2);
Tailwind
colors: {
  custom: {
    50: '#b96dba',
    500: '#97259c',
    950: '#000000',
  },
}
SCSS
$custom: #97259c;
$custom-light: #b96dba;
$custom-dark: #000000;
JSON
{
  "hex": "#97259c",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 297.479,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.19884,
    "h": 326.2
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#97259C
secondary
#62BF5E
accent
#E5434A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #97259C

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

Preview Lab → · Contrast checker → · Palette generator →

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