#975BAE#975BAE

#975BAE is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.1% C 0.138 H 316.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#975BAE
RGBrgb(151, 91, 174)
HSLhsl(283, 34%, 52%)
HSVhsv(283, 48%, 68%)
CMYKcmyk(13.2%, 47.7%, 0%, 31.8%)
CIE-LABlab(48.41, 39.03, -34.62)
CIE-LCHlch(48.41, 52.17, 318.43°)
OKLaboklab(57.13% 0.0996 -0.096)
OKLCHoklch(57.13% 0.138 316)
XYZxyz(24.1424, 17.1182, 42.0686)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BAE #72AE5B
analogous
#6D5BAE #975BAE #AE5B9C
triadic
#975BAE #AE975B #5BAE97
tetradic
#975BAE #AE6D5B #72AE5B #5B9CAE
square
#975BAE #AE6D5B #72AE5B #5B9CAE
split-complementary
#975BAE #9CAE5B #5BAE6D
monochromatic
#522F5F #754388 #975BAE #B184C2 #CBADD6

Accessibility & contrast

On white

4.75
#975BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#975BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975BAE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BAE#FFFFFF#000000##FFFFFF
##975BAE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB1
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#96677C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975bae;
/* rgb */ color: rgb(151, 91, 174);
/* oklch */ color: oklch(57.1% 0.138 316.0);
Tailwind
colors: {
  custom: {
    50: '#b78bc6',
    500: '#975bae',
    950: '#000000',
  },
}
SCSS
$custom: #975bae;
$custom-light: #b78bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#975bae",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 283.373,
    "s": 33.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.13831,
    "h": 316
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#975BAE
secondary
#AAC5A0
accent
#CA5E7C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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