#975A8F#975A8F

#975A8F is a mid, moderate purple. Relative luminance 0.159; OKLCH L 55.5% C 0.107 H 331.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#975A8F
RGBrgb(151, 90, 143)
HSLhsl(308, 25%, 47%)
HSVhsv(308, 40%, 59%)
CMYKcmyk(0%, 40.4%, 5.3%, 40.8%)
CIE-LABlab(46.81, 33.33, -18.77)
CIE-LCHlch(46.81, 38.25, 330.62°)
OKLaboklab(55.49% 0.0946 -0.0508)
OKLCHoklch(55.49% 0.107 331.8)
XYZxyz(21.3764, 15.8759, 27.9197)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975A8F #5A9762
analogous
#815A97 #975A8F #975A71
triadic
#975A8F #8F975A #5A8F97
tetradic
#975A8F #97815A #5A9762 #5A7197
square
#975A8F #97815A #5A9762 #5A7197
split-complementary
#975A8F #71975A #5A9781
monochromatic
#4A2C46 #71436B #975A8F #B17DAB #C8A3C3

Accessibility & contrast

On white

5.03
#975A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#975A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975A8F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975A8F#FFFFFF#000000##FFFFFF
##975A8F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586A91
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#9C5E6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #975a8f;
/* rgb */ color: rgb(151, 90, 143);
/* oklch */ color: oklch(55.5% 0.107 331.8);
Tailwind
colors: {
  custom: {
    50: '#b78ab0',
    500: '#975a8f',
    950: '#000000',
  },
}
SCSS
$custom: #975a8f;
$custom-light: #b78ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#975a8f",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 307.869,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55486,
    "c": 0.10737,
    "h": 331.8
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#975A8F
secondary
#97B69B
accent
#C27266
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F

Preview Lab

Preview with #975A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#975A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva