#975FA7#975FA7

#975FA7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.4% C 0.123 H 318.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#975FA7
RGBrgb(151, 95, 167)
HSLhsl(287, 29%, 51%)
HSVhsv(287, 43%, 65%)
CMYKcmyk(9.6%, 43.1%, 0%, 34.5%)
CIE-LABlab(48.95, 35.31, -29.67)
CIE-LCHlch(48.95, 46.12, 319.97°)
OKLaboklab(57.43% 0.0924 -0.0818)
OKLCHoklch(57.43% 0.123 318.5)
XYZxyz(23.8288, 17.5545, 38.6848)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FA7 #6FA75F
analogous
#735FA7 #975FA7 #A75F93
triadic
#975FA7 #A7975F #5FA797
tetradic
#975FA7 #A7735F #6FA75F #5F93A7
square
#975FA7 #A7735F #6FA75F #5F93A7
split-complementary
#975FA7 #93A75F #5FA773
monochromatic
#51325A #754782 #975FA7 #B186BD #CAAED2

Accessibility & contrast

On white

4.66
#975FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#975FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975FA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FA7#FFFFFF#000000##FFFFFF
##975FA71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#6376A5
Tritanopia (blue-blind)
#97687B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975fa7;
/* rgb */ color: rgb(151, 95, 167);
/* oklch */ color: oklch(57.4% 0.123 318.5);
Tailwind
colors: {
  custom: {
    50: '#b78ec1',
    500: '#975fa7',
    950: '#000000',
  },
}
SCSS
$custom: #975fa7;
$custom-light: #b78ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#975fa7",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 286.667,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.12339,
    "h": 318.5
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#975FA7
secondary
#A8C1A1
accent
#C56278
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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