#972086#972086

#972086 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.187 H 334.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#972086
RGBrgb(151, 32, 134)
HSLhsl(309, 65%, 36%)
HSVhsv(309, 79%, 59%)
CMYKcmyk(0%, 78.8%, 11.3%, 40.8%)
CIE-LABlab(36.62, 58.08, -29.11)
CIE-LCHlch(36.62, 64.96, 333.37°)
OKLaboklab(47.85% 0.1694 -0.0797)
OKLCHoklch(47.85% 0.187 334.8)
XYZxyz(17.5823, 9.3352, 23.4255)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972086 #209731
analogous
#6C2097 #972086 #97204B
triadic
#972086 #869720 #208697
tetradic
#972086 #976C20 #209731 #204B97
square
#972086 #976C20 #209731 #204B97
split-complementary
#972086 #4B9720 #20976C
monochromatic
#320B2C #641559 #972086 #C92BB3 #DB56C8

Accessibility & contrast

On white

7.33
#972086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#972086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972086
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972086#FFFFFF#000000##FFFFFF
##9720861.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#9F2B52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972086;
/* rgb */ color: rgb(151, 32, 134);
/* oklch */ color: oklch(47.9% 0.187 334.8);
Tailwind
colors: {
  custom: {
    50: '#b96aa9',
    500: '#972086',
    950: '#000000',
  },
}
SCSS
$custom: #972086;
$custom-light: #b96aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#972086",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 308.571,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.18721,
    "h": 334.8
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#972086
secondary
#54BF63
accent
#E85840
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972086

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

Preview Lab → · Contrast checker → · Palette generator →

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