#972986#972986

#972986 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.178 H 334.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#972986
RGBrgb(151, 41, 134)
HSLhsl(309, 57%, 38%)
HSVhsv(309, 73%, 59%)
CMYKcmyk(0%, 72.8%, 11.3%, 40.8%)
CIE-LABlab(37.64, 55.17, -27.51)
CIE-LCHlch(37.64, 61.65, 333.49°)
OKLaboklab(48.59% 0.1608 -0.0752)
OKLCHoklch(48.59% 0.178 334.9)
XYZxyz(17.8587, 9.8880, 23.5176)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972986 #29973A
analogous
#712997 #972986 #97294F
triadic
#972986 #869729 #298697
tetradic
#972986 #977129 #29973A #294F97
square
#972986 #977129 #29973A #294F97
split-complementary
#972986 #4F9729 #299771
monochromatic
#370F31 #671C5B #972986 #C736B1 #D565C4

Accessibility & contrast

On white

7.05
#972986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#972986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972986
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972986#FFFFFF#000000##FFFFFF
##9729861.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#9E3254
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972986;
/* rgb */ color: rgb(151, 41, 134);
/* oklch */ color: oklch(48.6% 0.178 334.9);
Tailwind
colors: {
  custom: {
    50: '#b96ea9',
    500: '#972986',
    950: '#000000',
  },
}
SCSS
$custom: #972986;
$custom-light: #b96ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#972986",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 309.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48585,
    "c": 0.17751,
    "h": 334.9
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#972986
secondary
#61BB6F
accent
#E15F47
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972986

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

Preview Lab → · Contrast checker → · Palette generator →

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