#975AB4#975AB4

#975AB4 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.3% C 0.147 H 313.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#975AB4
RGBrgb(151, 90, 180)
HSLhsl(281, 38%, 53%)
HSVhsv(281, 50%, 71%)
CMYKcmyk(16.1%, 50%, 0%, 29.4%)
CIE-LABlab(48.50, 40.88, -37.99)
CIE-LCHlch(48.50, 55.81, 317.10°)
OKLaboklab(57.3% 0.1018 -0.1058)
OKLCHoklch(57.3% 0.147 313.9)
XYZxyz(24.6555, 17.1876, 45.1899)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AB4 #77B45A
analogous
#6A5AB4 #975AB4 #B45AA4
triadic
#975AB4 #B4975A #5AB497
tetradic
#975AB4 #B46A5A #77B45A #5AA4B4
square
#975AB4 #B46A5A #77B45A #5AA4B4
split-complementary
#975AB4 #A4B45A #5AB46A
monochromatic
#542E65 #764190 #975AB4 #B284C7 #CCAEDA

Accessibility & contrast

On white

4.73
#975AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#975AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AB4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AB4#FFFFFF#000000##FFFFFF
##975AB41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4670B7
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#95687F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975ab4;
/* rgb */ color: rgb(151, 90, 180);
/* oklch */ color: oklch(57.3% 0.147 313.9);
Tailwind
colors: {
  custom: {
    50: '#b78acb',
    500: '#975ab4',
    950: '#000000',
  },
}
SCSS
$custom: #975ab4;
$custom-light: #b78acb;
$custom-dark: #000000;
JSON
{
  "hex": "#975ab4",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 280.667,
    "s": 37.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.1468,
    "h": 313.9
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#975AB4
secondary
#AEC8A1
accent
#CD5A7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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