#97249B#97249B

#97249B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.199 H 326.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#97249B
RGBrgb(151, 36, 155)
HSLhsl(298, 62%, 37%)
HSVhsv(298, 77%, 61%)
CMYKcmyk(2.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(38.21, 60.25, -39.44)
CIE-LCHlch(38.21, 72.01, 326.79°)
OKLaboklab(49.37% 0.1661 -0.1096)
OKLCHoklch(49.37% 0.199 326.6)
XYZxyz(19.3094, 10.2090, 31.9575)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97249B #289B24
analogous
#5B249B #97249B #9B2464
triadic
#97249B #9B9724 #249B97
tetradic
#97249B #9B5B24 #289B24 #24649B
square
#97249B #9B5B24 #289B24 #24649B
split-complementary
#97249B #649B24 #249B5B
monochromatic
#360D38 #671869 #97249B #C730CD #D65FDA

Accessibility & contrast

On white

6.90
#97249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#97249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97249B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97249B#FFFFFF#000000##FFFFFF
##97249B1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#9B395F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97249b;
/* rgb */ color: rgb(151, 36, 155);
/* oklch */ color: oklch(49.4% 0.199 326.6);
Tailwind
colors: {
  custom: {
    50: '#b96cb9',
    500: '#97249b',
    950: '#000000',
  },
}
SCSS
$custom: #97249b;
$custom-light: #b96cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#97249b",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 297.983,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.19905,
    "h": 326.6
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#97249B
secondary
#5FBF5C
accent
#E54248
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97249B

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

Preview Lab → · Contrast checker → · Palette generator →

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