#972186#972186

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

Color values

HEX#972186
RGBrgb(151, 33, 134)
HSLhsl(309, 64%, 36%)
HSVhsv(309, 78%, 59%)
CMYKcmyk(0%, 78.1%, 11.3%, 40.8%)
CIE-LABlab(36.72, 57.78, -28.95)
CIE-LCHlch(36.72, 64.63, 333.39°)
OKLaboklab(47.93% 0.1685 -0.0792)
OKLCHoklch(47.93% 0.186 334.8)
XYZxyz(17.6097, 9.3898, 23.4346)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972186 #219732
analogous
#6D2197 #972186 #97214B
triadic
#972186 #869721 #218697
tetradic
#972186 #976D21 #219732 #214B97
square
#972186 #976D21 #219732 #214B97
split-complementary
#972186 #4B9721 #21976D
monochromatic
#330B2D #651659 #972186 #C92CB3 #DA58C8

Accessibility & contrast

On white

7.30
#972186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#972186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972186
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972186#FFFFFF#000000##FFFFFF
##9721861.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#9F2C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972186;
/* rgb */ color: rgb(151, 33, 134);
/* oklch */ color: oklch(47.9% 0.186 334.8);
Tailwind
colors: {
  custom: {
    50: '#b96aa9',
    500: '#972186',
    950: '#000000',
  },
}
SCSS
$custom: #972186;
$custom-light: #b96aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#972186",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 308.644,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.18623,
    "h": 334.8
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#972186
secondary
#55BE64
accent
#E75941
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972186

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

Preview Lab → · Contrast checker → · Palette generator →

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