#975BA2#975BA2

#975BA2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 56.5% C 0.125 H 321.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#975BA2
RGBrgb(151, 91, 162)
HSLhsl(291, 28%, 50%)
HSVhsv(291, 44%, 64%)
CMYKcmyk(6.8%, 43.8%, 0%, 36.5%)
CIE-LABlab(47.84, 36.50, -28.45)
CIE-LCHlch(47.84, 46.28, 322.06°)
OKLaboklab(56.53% 0.0975 -0.0783)
OKLCHoklch(56.53% 0.125 321.2)
XYZxyz(23.0244, 16.6710, 36.1804)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BA2 #66A25B
analogous
#745BA2 #975BA2 #A25B8A
triadic
#975BA2 #A2975B #5BA297
tetradic
#975BA2 #A2745B #66A25B #5B8AA2
square
#975BA2 #A2745B #66A25B #5B8AA2
split-complementary
#975BA2 #8AA25B #5BA274
monochromatic
#4E2F54 #72457B #975BA2 #B082B9 #C9A9CF

Accessibility & contrast

On white

4.85
#975BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#975BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975BA2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BA2#FFFFFF#000000##FFFFFF
##975BA21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#986477
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #975ba2;
/* rgb */ color: rgb(151, 91, 162);
/* oklch */ color: oklch(56.5% 0.125 321.2);
Tailwind
colors: {
  custom: {
    50: '#b78bbe',
    500: '#975ba2',
    950: '#000000',
  },
}
SCSS
$custom: #975ba2;
$custom-light: #b78bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#975ba2",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 290.704,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.12501,
    "h": 321.2
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#975BA2
secondary
#A1BD9C
accent
#C46372
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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