#975197#975197

#975197 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.4% C 0.131 H 327.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#975197
RGBrgb(151, 81, 151)
HSLhsl(300, 30%, 45%)
HSVhsv(300, 46%, 59%)
CMYKcmyk(0%, 46.4%, 0%, 40.8%)
CIE-LABlab(45.22, 39.78, -26.00)
CIE-LCHlch(45.22, 47.52, 326.83°)
OKLaboklab(54.41% 0.1104 -0.0712)
OKLCHoklch(54.41% 0.131 327.2)
XYZxyz(21.2905, 14.6996, 30.9880)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975197 #519751
analogous
#745197 #975197 #975174
triadic
#975197 #979751 #519797
tetradic
#975197 #977451 #519751 #517497
square
#975197 #977451 #519751 #517497
split-complementary
#975197 #749751 #519774
monochromatic
#472647 #6F3C6F #975197 #B372B3 #C99AC9

Accessibility & contrast

On white

5.33
#975197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#975197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975197
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975197#FFFFFF#000000##FFFFFF
##9751971.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#5F6E95
Tritanopia (blue-blind)
#9B586D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #975197;
/* rgb */ color: rgb(151, 81, 151);
/* oklch */ color: oklch(54.4% 0.131 327.2);
Tailwind
colors: {
  custom: {
    50: '#b784b6',
    500: '#975197',
    950: '#000000',
  },
}
SCSS
$custom: #975197;
$custom-light: #b784b6;
$custom-dark: #000000;
JSON
{
  "hex": "#975197",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.13139,
    "h": 327.2
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#975197
secondary
#8EB68E
accent
#C66161
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #975197

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

Preview Lab → · Contrast checker → · Palette generator →

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