#975BAC#975BAC

#975BAC is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.0% C 0.136 H 316.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#975BAC
RGBrgb(151, 91, 172)
HSLhsl(284, 33%, 52%)
HSVhsv(284, 47%, 67%)
CMYKcmyk(12.2%, 47.1%, 0%, 32.5%)
CIE-LABlab(48.31, 38.60, -33.60)
CIE-LCHlch(48.31, 51.18, 318.96°)
OKLaboklab(57.03% 0.0992 -0.0931)
OKLCHoklch(57.03% 0.136 316.8)
XYZxyz(23.9489, 17.0408, 41.0494)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BAC #70AC5B
analogous
#6F5BAC #975BAC #AC5B99
triadic
#975BAC #AC975B #5BAC97
tetradic
#975BAC #AC6F5B #70AC5B #5B99AC
square
#975BAC #AC6F5B #70AC5B #5B99AC
split-complementary
#975BAC #99AC5B #5BAC6F
monochromatic
#512F5D #754486 #975BAC #B184C1 #CBACD5

Accessibility & contrast

On white

4.76
#975BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#975BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975BAC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BAC#FFFFFF#000000##FFFFFF
##975BAC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAF
Deuteranopia (green-blind)
#5D75AA
Tritanopia (blue-blind)
#96667B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975bac;
/* rgb */ color: rgb(151, 91, 172);
/* oklch */ color: oklch(57.0% 0.136 316.8);
Tailwind
colors: {
  custom: {
    50: '#b78bc5',
    500: '#975bac',
    950: '#000000',
  },
}
SCSS
$custom: #975bac;
$custom-light: #b78bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#975bac",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 284.444,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.13606,
    "h": 316.8
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#975BAC
secondary
#A9C3A0
accent
#C95F7A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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