#97248B#97248B

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

Color values

HEX#97248B
RGBrgb(151, 36, 139)
HSLhsl(306, 61%, 37%)
HSVhsv(306, 76%, 59%)
CMYKcmyk(0%, 76.2%, 7.9%, 40.8%)
CIE-LABlab(37.31, 57.63, -31.11)
CIE-LCHlch(37.31, 65.49, 331.64°)
OKLaboklab(48.43% 0.1661 -0.0855)
OKLCHoklch(48.43% 0.187 332.8)
XYZxyz(18.0537, 9.7067, 25.3438)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97248B #249730
analogous
#6A2497 #97248B #972452
triadic
#97248B #8B9724 #248B97
tetradic
#97248B #976A24 #249730 #245297
square
#97248B #976A24 #249730 #245297
split-complementary
#97248B #529724 #24976A
monochromatic
#340C30 #66185E #97248B #C830B8 #D85DCC

Accessibility & contrast

On white

7.14
#97248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97248B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97248B#FFFFFF#000000##FFFFFF
##97248B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#9E3156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97248b;
/* rgb */ color: rgb(151, 36, 139);
/* oklch */ color: oklch(48.4% 0.187 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96cad',
    500: '#97248b',
    950: '#000000',
  },
}
SCSS
$custom: #97248b;
$custom-light: #b96cad;
$custom-dark: #000000;
JSON
{
  "hex": "#97248b",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 306.261,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.18679,
    "h": 332.8
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#97248B
secondary
#5ABD64
accent
#E55443
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97248B

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

Preview Lab → · Contrast checker → · Palette generator →

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