#97249C#97249C

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

Color values

HEX#97249C
RGBrgb(151, 36, 156)
HSLhsl(298, 63%, 38%)
HSVhsv(298, 77%, 61%)
CMYKcmyk(3.2%, 76.9%, 0%, 38.8%)
CIE-LABlab(38.27, 60.42, -39.95)
CIE-LCHlch(38.27, 72.43, 326.53°)
OKLaboklab(49.43% 0.1661 -0.1111)
OKLCHoklch(49.43% 0.2 326.2)
XYZxyz(19.3938, 10.2427, 32.4016)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97249C #299C24
analogous
#5B249C #97249C #9C2465
triadic
#97249C #9C9724 #249C97
tetradic
#97249C #9C5B24 #299C24 #24659C
square
#97249C #9C5B24 #299C24 #24659C
split-complementary
#97249C #659C24 #249C5B
monochromatic
#370D39 #67196A #97249C #C72FCE #D560DA

Accessibility & contrast

On white

6.89
#97249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#97249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97249C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97249C#FFFFFF#000000##FFFFFF
##97249C1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97249c;
/* rgb */ color: rgb(151, 36, 156);
/* oklch */ color: oklch(49.4% 0.200 326.2);
Tailwind
colors: {
  custom: {
    50: '#b96cba',
    500: '#97249c',
    950: '#000000',
  },
}
SCSS
$custom: #97249c;
$custom-light: #b96cba;
$custom-dark: #000000;
JSON
{
  "hex": "#97249c",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 297.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.19984,
    "h": 326.2
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#97249C
secondary
#61BF5C
accent
#E64249
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97249C

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

Preview Lab → · Contrast checker → · Palette generator →

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