#975FAA#975FAA

#975FAA is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.6% C 0.127 H 317.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#975FAA
RGBrgb(151, 95, 170)
HSLhsl(285, 31%, 52%)
HSVhsv(285, 44%, 67%)
CMYKcmyk(11.2%, 44.1%, 0%, 33.3%)
CIE-LABlab(49.09, 35.95, -31.21)
CIE-LCHlch(49.09, 47.61, 319.04°)
OKLaboklab(57.58% 0.093 -0.0862)
OKLCHoklch(57.58% 0.127 317.2)
XYZxyz(24.1094, 17.6667, 40.1624)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FAA #72AA5F
analogous
#725FAA #975FAA #AA5F98
triadic
#975FAA #AA975F #5FAA97
tetradic
#975FAA #AA725F #72AA5F #5F98AA
square
#975FAA #AA725F #72AA5F #5F98AA
split-complementary
#975FAA #98AA5F #5FAA72
monochromatic
#52315D #754785 #975FAA #B187BF #CBAFD4

Accessibility & contrast

On white

4.63
#975FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#975FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975FAA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FAA#FFFFFF#000000##FFFFFF
##975FAA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#97697C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975faa;
/* rgb */ color: rgb(151, 95, 170);
/* oklch */ color: oklch(57.6% 0.127 317.2);
Tailwind
colors: {
  custom: {
    50: '#b78ec3',
    500: '#975faa',
    950: '#000000',
  },
}
SCSS
$custom: #975faa;
$custom-light: #b78ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#975faa",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 284.8,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.1268,
    "h": 317.2
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#975FAA
secondary
#AAC3A2
accent
#C7617B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #975FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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