#973187#973187

#973187 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 334.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#973187
RGBrgb(151, 49, 135)
HSLhsl(309, 51%, 39%)
HSVhsv(309, 68%, 59%)
CMYKcmyk(0%, 67.5%, 10.6%, 40.8%)
CIE-LABlab(38.77, 52.29, -26.36)
CIE-LCHlch(38.77, 58.56, 333.25°)
OKLaboklab(49.42% 0.152 -0.0719)
OKLCHoklch(49.42% 0.168 334.7)
XYZxyz(18.2341, 10.5267, 23.9885)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973187 #319741
analogous
#743197 #973187 #973154
triadic
#973187 #879731 #318797
tetradic
#973187 #977431 #319741 #315497
square
#973187 #977431 #319741 #315497
split-complementary
#973187 #549731 #319774
monochromatic
#3B1334 #69225E #973187 #C243AE #D171C2

Accessibility & contrast

On white

6.76
#973187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#973187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973187
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973187#FFFFFF#000000##FFFFFF
##9731871.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#526184
Tritanopia (blue-blind)
#9E3857
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #973187;
/* rgb */ color: rgb(151, 49, 135);
/* oklch */ color: oklch(49.4% 0.168 334.7);
Tailwind
colors: {
  custom: {
    50: '#b971aa',
    500: '#973187',
    950: '#000000',
  },
}
SCSS
$custom: #973187;
$custom-light: #b971aa;
$custom-dark: #000000;
JSON
{
  "hex": "#973187",
  "rgb": {
    "r": 151,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 309.412,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.16811,
    "h": 334.7
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#973187
secondary
#6BB977
accent
#DA634D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #973187

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

Preview Lab → · Contrast checker → · Palette generator →

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