#97248F#97248F

#97248F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.190 H 331.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#97248F
RGBrgb(151, 36, 143)
HSLhsl(304, 61%, 37%)
HSVhsv(304, 76%, 59%)
CMYKcmyk(0%, 76.2%, 5.3%, 40.8%)
CIE-LABlab(37.53, 58.26, -33.22)
CIE-LCHlch(37.53, 67.07, 330.31°)
OKLaboklab(48.66% 0.1662 -0.0916)
OKLCHoklch(48.66% 0.19 331.2)
XYZxyz(18.3513, 9.8257, 26.9113)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97248F #24972C
analogous
#662497 #97248F #972456
triadic
#97248F #8F9724 #248F97
tetradic
#97248F #976624 #24972C #245697
square
#97248F #976624 #24972C #245697
split-complementary
#97248F #569724 #249766
monochromatic
#340C31 #661860 #97248F #C830BE #D85DD0

Accessibility & contrast

On white

7.08
#97248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#97248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97248F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97248F#FFFFFF#000000##FFFFFF
##97248F1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#9D3358
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97248f;
/* rgb */ color: rgb(151, 36, 143);
/* oklch */ color: oklch(48.7% 0.190 331.2);
Tailwind
colors: {
  custom: {
    50: '#b96cb0',
    500: '#97248f',
    950: '#000000',
  },
}
SCSS
$custom: #97248f;
$custom-light: #b96cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#97248f",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 304.174,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.18979,
    "h": 331.2
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#97248F
secondary
#5ABD61
accent
#E54E43
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97248F

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

Preview Lab → · Contrast checker → · Palette generator →

#97248F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva