#97248D#97248D

#97248D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.188 H 332.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#97248D
RGBrgb(151, 36, 141)
HSLhsl(305, 61%, 37%)
HSVhsv(305, 76%, 59%)
CMYKcmyk(0%, 76.2%, 6.6%, 40.8%)
CIE-LABlab(37.42, 57.94, -32.17)
CIE-LCHlch(37.42, 66.28, 330.96°)
OKLaboklab(48.54% 0.1662 -0.0885)
OKLCHoklch(48.54% 0.188 332)
XYZxyz(18.2011, 9.7657, 26.1205)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97248D #24972E
analogous
#682497 #97248D #972454
triadic
#97248D #8D9724 #248D97
tetradic
#97248D #976824 #24972E #245497
square
#97248D #976824 #24972E #245497
split-complementary
#97248D #549724 #249768
monochromatic
#340C31 #66185F #97248D #C830BB #D85DCE

Accessibility & contrast

On white

7.11
#97248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#97248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97248D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97248D#FFFFFF#000000##FFFFFF
##97248D1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#9E3257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97248d;
/* rgb */ color: rgb(151, 36, 141);
/* oklch */ color: oklch(48.5% 0.188 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96caf',
    500: '#97248d',
    950: '#000000',
  },
}
SCSS
$custom: #97248d;
$custom-light: #b96caf;
$custom-dark: #000000;
JSON
{
  "hex": "#97248d",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 305.217,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.18829,
    "h": 332
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#97248D
secondary
#5ABD62
accent
#E55143
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97248D

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

Preview Lab → · Contrast checker → · Palette generator →

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