#973897#973897

#973897 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.172 H 327.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#973897
RGBrgb(151, 56, 151)
HSLhsl(300, 46%, 41%)
HSVhsv(300, 63%, 59%)
CMYKcmyk(0%, 62.9%, 0%, 40.8%)
CIE-LABlab(40.64, 52.06, -33.17)
CIE-LCHlch(40.64, 61.73, 327.50°)
OKLaboklab(51.04% 0.145 -0.0916)
OKLCHoklch(51.04% 0.172 327.7)
XYZxyz(19.7623, 11.6433, 30.4786)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973897 #389738
analogous
#673897 #973897 #973867
triadic
#973897 #979738 #389797
tetradic
#973897 #976738 #389738 #386797
square
#973897 #976738 #389738 #386797
split-complementary
#973897 #679738 #389767
monochromatic
#3E173E #6A276A #973897 #BE4FBE #CE7BCE

Accessibility & contrast

On white

6.31
#973897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#973897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973897
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973897#FFFFFF#000000##FFFFFF
##9738971.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#9C4462
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #973897;
/* rgb */ color: rgb(151, 56, 151);
/* oklch */ color: oklch(51.0% 0.172 327.7);
Tailwind
colors: {
  custom: {
    50: '#b875b6',
    500: '#973897',
    950: '#000000',
  },
}
SCSS
$custom: #973897;
$custom-light: #b875b6;
$custom-dark: #000000;
JSON
{
  "hex": "#973897",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51044,
    "c": 0.1715,
    "h": 327.7
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#973897
secondary
#73B773
accent
#D65252
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #973897

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

Preview Lab → · Contrast checker → · Palette generator →

#973897 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva