#975A9A#975A9A

#975A9A is a mid, moderate purple. Relative luminance 0.162; OKLCH L 56.0% C 0.118 H 325.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#975A9A
RGBrgb(151, 90, 154)
HSLhsl(297, 26%, 48%)
HSVhsv(297, 42%, 60%)
CMYKcmyk(1.9%, 41.6%, 0%, 39.6%)
CIE-LABlab(47.27, 35.45, -24.61)
CIE-LCHlch(47.27, 43.15, 325.23°)
OKLaboklab(55.98% 0.0973 -0.0673)
OKLCHoklch(55.98% 0.118 325.3)
XYZxyz(22.2509, 16.2257, 32.5254)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975A9A #5D9A5A
analogous
#775A9A #975A9A #9A5A7D
triadic
#975A9A #9A975A #5A9A97
tetradic
#975A9A #9A775A #5D9A5A #5A7D9A
square
#975A9A #9A775A #5D9A5A #5A7D9A
split-complementary
#975A9A #7D9A5A #5A9A77
monochromatic
#4B2D4D #714373 #975A9A #B17EB3 #C8A4CA

Accessibility & contrast

On white

4.95
#975A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#975A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975A9A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975A9A#FFFFFF#000000##FFFFFF
##975A9A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9C
Deuteranopia (green-blind)
#647398
Tritanopia (blue-blind)
#9A6173
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #975a9a;
/* rgb */ color: rgb(151, 90, 154);
/* oklch */ color: oklch(56.0% 0.118 325.3);
Tailwind
colors: {
  custom: {
    50: '#b78ab8',
    500: '#975a9a',
    950: '#000000',
  },
}
SCSS
$custom: #975a9a;
$custom-light: #b78ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#975a9a",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 154
  },
  "hsl": {
    "h": 297.188,
    "s": 26.23,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.11831,
    "h": 325.3
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#975A9A
secondary
#99B898
accent
#C3656A
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #975A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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