#975AA4#975AA4

#975AA4 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 56.5% C 0.129 H 320.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#975AA4
RGBrgb(151, 90, 164)
HSLhsl(289, 29%, 50%)
HSVhsv(289, 45%, 64%)
CMYKcmyk(7.9%, 45.1%, 0%, 35.7%)
CIE-LABlab(47.72, 37.47, -29.83)
CIE-LCHlch(47.72, 47.89, 321.48°)
OKLaboklab(56.46% 0.0993 -0.0822)
OKLCHoklch(56.46% 0.129 320.4)
XYZxyz(23.1187, 16.5728, 37.0958)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AA4 #67A45A
analogous
#725AA4 #975AA4 #A45A8C
triadic
#975AA4 #A4975A #5AA497
tetradic
#975AA4 #A4725A #67A45A #5A8CA4
square
#975AA4 #A4725A #67A45A #5A8CA4
split-complementary
#975AA4 #8CA45A #5AA472
monochromatic
#4E2F55 #73447C #975AA4 #B081BA #C9A9D0

Accessibility & contrast

On white

4.87
#975AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#975AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AA4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AA4#FFFFFF#000000##FFFFFF
##975AA41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA7
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#986377
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #975aa4;
/* rgb */ color: rgb(151, 90, 164);
/* oklch */ color: oklch(56.5% 0.129 320.4);
Tailwind
colors: {
  custom: {
    50: '#b78abf',
    500: '#975aa4',
    950: '#000000',
  },
}
SCSS
$custom: #975aa4;
$custom-light: #b78abf;
$custom-dark: #000000;
JSON
{
  "hex": "#975aa4",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 289.459,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.12895,
    "h": 320.4
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#975AA4
secondary
#A2BE9C
accent
#C56274
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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