#97248A#97248A

#97248A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.186 H 333.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#97248A
RGBrgb(151, 36, 138)
HSLhsl(307, 61%, 37%)
HSVhsv(307, 76%, 59%)
CMYKcmyk(0%, 76.2%, 8.6%, 40.8%)
CIE-LABlab(37.26, 57.47, -30.58)
CIE-LCHlch(37.26, 65.10, 331.98°)
OKLaboklab(48.38% 0.166 -0.0839)
OKLCHoklch(48.38% 0.186 333.2)
XYZxyz(17.9809, 9.6776, 24.9608)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97248A #249731
analogous
#6B2497 #97248A #972451
triadic
#97248A #8A9724 #248A97
tetradic
#97248A #976B24 #249731 #245197
square
#97248A #976B24 #249731 #245197
split-complementary
#97248A #519724 #24976B
monochromatic
#340C30 #66185D #97248A #C830B7 #D85DCA

Accessibility & contrast

On white

7.15
#97248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#97248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97248A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97248A#FFFFFF#000000##FFFFFF
##97248A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8D
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#9E3055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97248a;
/* rgb */ color: rgb(151, 36, 138);
/* oklch */ color: oklch(48.4% 0.186 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96cac',
    500: '#97248a',
    950: '#000000',
  },
}
SCSS
$custom: #97248a;
$custom-light: #b96cac;
$custom-dark: #000000;
JSON
{
  "hex": "#97248a",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 306.783,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.18605,
    "h": 333.2
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#97248A
secondary
#5ABD65
accent
#E55543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97248A

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

Preview Lab → · Contrast checker → · Palette generator →

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