#97249A#97249A

#97249A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.198 H 326.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#97249A
RGBrgb(151, 36, 154)
HSLhsl(298, 62%, 37%)
HSVhsv(298, 77%, 60%)
CMYKcmyk(1.9%, 76.6%, 0%, 39.6%)
CIE-LABlab(38.16, 60.08, -38.93)
CIE-LCHlch(38.16, 71.59, 327.06°)
OKLaboklab(49.31% 0.1662 -0.1081)
OKLCHoklch(49.31% 0.198 326.9)
XYZxyz(19.2258, 10.1755, 31.5170)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97249A #279A24
analogous
#5C249A #97249A #9A2462
triadic
#97249A #9A9724 #249A97
tetradic
#97249A #9A5C24 #279A24 #24629A
square
#97249A #9A5C24 #279A24 #24629A
split-complementary
#97249A #629A24 #249A5C
monochromatic
#360D37 #661868 #97249A #C830CC #D65FDA

Accessibility & contrast

On white

6.92
#97249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#97249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97249A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97249A#FFFFFF#000000##FFFFFF
##97249A1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#9B385E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97249a;
/* rgb */ color: rgb(151, 36, 154);
/* oklch */ color: oklch(49.3% 0.198 326.9);
Tailwind
colors: {
  custom: {
    50: '#b96cb8',
    500: '#97249a',
    950: '#000000',
  },
}
SCSS
$custom: #97249a;
$custom-light: #b96cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#97249a",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 298.475,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.19826,
    "h": 326.9
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#97249A
secondary
#5EBF5B
accent
#E54347
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97249A

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

Preview Lab → · Contrast checker → · Palette generator →

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