#973899#973899

#973899 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.2% C 0.173 H 326.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#973899
RGBrgb(151, 56, 153)
HSLhsl(299, 46%, 41%)
HSVhsv(299, 63%, 60%)
CMYKcmyk(1.3%, 63.4%, 0%, 40%)
CIE-LABlab(40.75, 52.42, -34.21)
CIE-LCHlch(40.75, 62.59, 326.87°)
OKLaboklab(51.15% 0.1452 -0.0946)
OKLCHoklch(51.15% 0.173 326.9)
XYZxyz(19.9261, 11.7088, 31.3413)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973899 #3A9938
analogous
#663899 #973899 #99386A
triadic
#973899 #999738 #389997
tetradic
#973899 #996638 #3A9938 #386A99
square
#973899 #996638 #3A9938 #386A99
split-complementary
#973899 #6A9938 #389966
monochromatic
#3F173F #6B286C #973899 #BC4FBF #CD7CCF

Accessibility & contrast

On white

6.28
#973899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#973899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973899
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973899#FFFFFF#000000##FFFFFF
##9738991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#9B4563
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #973899;
/* rgb */ color: rgb(151, 56, 153);
/* oklch */ color: oklch(51.2% 0.173 326.9);
Tailwind
colors: {
  custom: {
    50: '#b876b7',
    500: '#973899',
    950: '#000000',
  },
}
SCSS
$custom: #973899;
$custom-light: #b876b7;
$custom-dark: #000000;
JSON
{
  "hex": "#973899",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 298.763,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.17325,
    "h": 326.9
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#973899
secondary
#76B874
accent
#D65254
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #973899

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

Preview Lab → · Contrast checker → · Palette generator →

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