#97248C#97248C

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

Color values

HEX#97248C
RGBrgb(151, 36, 140)
HSLhsl(306, 61%, 37%)
HSVhsv(306, 76%, 59%)
CMYKcmyk(0%, 76.2%, 7.3%, 40.8%)
CIE-LABlab(37.36, 57.79, -31.64)
CIE-LCHlch(37.36, 65.88, 331.30°)
OKLaboklab(48.49% 0.1661 -0.087)
OKLCHoklch(48.49% 0.188 332.4)
XYZxyz(18.1271, 9.7360, 25.7304)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97248C #24972F
analogous
#692497 #97248C #972453
triadic
#97248C #8C9724 #248C97
tetradic
#97248C #976924 #24972F #245397
square
#97248C #976924 #24972F #245397
split-complementary
#97248C #539724 #249769
monochromatic
#340C30 #66185E #97248C #C830BA #D85DCD

Accessibility & contrast

On white

7.13
#97248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97248C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97248C#FFFFFF#000000##FFFFFF
##97248C1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97248c;
/* rgb */ color: rgb(151, 36, 140);
/* oklch */ color: oklch(48.5% 0.188 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96cae',
    500: '#97248c',
    950: '#000000',
  },
}
SCSS
$custom: #97248c;
$custom-light: #b96cae;
$custom-dark: #000000;
JSON
{
  "hex": "#97248c",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 305.739,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.18754,
    "h": 332.4
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#97248C
secondary
#5ABD63
accent
#E55343
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97248C

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

Preview Lab → · Contrast checker → · Palette generator →

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