#97348C#97348C

#97348C is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.168 H 332.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#97348C
RGBrgb(151, 52, 140)
HSLhsl(307, 49%, 40%)
HSVhsv(307, 66%, 59%)
CMYKcmyk(0%, 65.6%, 7.3%, 40.8%)
CIE-LABlab(39.46, 51.87, -28.34)
CIE-LCHlch(39.46, 59.11, 331.35°)
OKLaboklab(50% 0.1489 -0.0776)
OKLCHoklch(50% 0.168 332.5)
XYZxyz(18.7241, 10.9302, 25.9294)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97348C #34973F
analogous
#713497 #97348C #97345A
triadic
#97348C #8C9734 #348C97
tetradic
#97348C #977134 #34973F #345A97
square
#97348C #977134 #34973F #345A97
split-complementary
#97348C #5A9734 #349771
monochromatic
#3C1538 #692462 #97348C #C048B3 #D076C6

Accessibility & contrast

On white

6.59
#97348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#97348C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97348C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97348C#FFFFFF#000000##FFFFFF
##97348C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#526289
Tritanopia (blue-blind)
#9D3D5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #97348c;
/* rgb */ color: rgb(151, 52, 140);
/* oklch */ color: oklch(50.0% 0.168 332.5);
Tailwind
colors: {
  custom: {
    50: '#b973ae',
    500: '#97348c',
    950: '#000000',
  },
}
SCSS
$custom: #97348c;
$custom-light: #b973ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97348c",
  "rgb": {
    "r": 151,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 306.667,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.16794,
    "h": 332.5
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#97348C
secondary
#6FB877
accent
#D85F4F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97348C

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

Preview Lab → · Contrast checker → · Palette generator →

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