#972087#972087

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

Color values

HEX#972087
RGBrgb(151, 32, 135)
HSLhsl(308, 65%, 36%)
HSVhsv(308, 79%, 59%)
CMYKcmyk(0%, 78.8%, 10.6%, 40.8%)
CIE-LABlab(36.67, 58.23, -29.65)
CIE-LCHlch(36.67, 65.34, 333.01°)
OKLaboklab(47.91% 0.1695 -0.0812)
OKLCHoklch(47.91% 0.188 334.4)
XYZxyz(17.6524, 9.3632, 23.7946)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972087 #209730
analogous
#6B2097 #972087 #97204B
triadic
#972087 #879720 #208797
tetradic
#972087 #976B20 #209730 #204B97
square
#972087 #976B20 #209730 #204B97
split-complementary
#972087 #4B9720 #20976B
monochromatic
#320B2D #64155A #972087 #C92BB4 #DB56C9

Accessibility & contrast

On white

7.31
#972087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972087
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972087#FFFFFF#000000##FFFFFF
##9720871.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#9E2C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972087;
/* rgb */ color: rgb(151, 32, 135);
/* oklch */ color: oklch(47.9% 0.188 334.4);
Tailwind
colors: {
  custom: {
    50: '#b96aaa',
    500: '#972087',
    950: '#000000',
  },
}
SCSS
$custom: #972087;
$custom-light: #b96aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#972087",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 308.067,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.18792,
    "h": 334.4
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#972087
secondary
#54BF62
accent
#E85640
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972087

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

Preview Lab → · Contrast checker → · Palette generator →

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