#97368F#97368F

#97368F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.4% C 0.168 H 331.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#97368F
RGBrgb(151, 54, 143)
HSLhsl(305, 47%, 40%)
HSVhsv(305, 64%, 59%)
CMYKcmyk(0%, 64.2%, 5.3%, 40.8%)
CIE-LABlab(39.92, 51.53, -29.46)
CIE-LCHlch(39.92, 59.35, 330.24°)
OKLaboklab(50.38% 0.1468 -0.0808)
OKLCHoklch(50.38% 0.168 331.2)
XYZxyz(19.0395, 11.2022, 27.1407)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97368F #36973E
analogous
#6E3697 #97368F #97365F
triadic
#97368F #8F9736 #368F97
tetradic
#97368F #976E36 #36973E #365F97
square
#97368F #976E36 #36973E #365F97
split-complementary
#97368F #5F9736 #36976E
monochromatic
#3D163A #6A2664 #97368F #BF4BB5 #CF78C8

Accessibility & contrast

On white

6.48
#97368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#97368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97368F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97368F#FFFFFF#000000##FFFFFF
##97368F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#9D405D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97368f;
/* rgb */ color: rgb(151, 54, 143);
/* oklch */ color: oklch(50.4% 0.168 331.2);
Tailwind
colors: {
  custom: {
    50: '#b874b0',
    500: '#97368f',
    950: '#000000',
  },
}
SCSS
$custom: #97368f;
$custom-light: #b874b0;
$custom-dark: #000000;
JSON
{
  "hex": "#97368f",
  "rgb": {
    "r": 151,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 304.948,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.16757,
    "h": 331.2
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#97368F
secondary
#71B877
accent
#D75C51
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #97368F

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

Preview Lab → · Contrast checker → · Palette generator →

#97368F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva