#975AA2#975AA2

#975AA2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.4% C 0.127 H 321.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#975AA2
RGBrgb(151, 90, 162)
HSLhsl(291, 29%, 49%)
HSVhsv(291, 44%, 64%)
CMYKcmyk(6.8%, 44.4%, 0%, 36.5%)
CIE-LABlab(47.63, 37.06, -28.79)
CIE-LCHlch(47.63, 46.93, 322.15°)
OKLaboklab(56.36% 0.099 -0.0792)
OKLCHoklch(56.36% 0.127 321.3)
XYZxyz(22.9395, 16.5011, 36.1521)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AA2 #65A25A
analogous
#735AA2 #975AA2 #A25A89
triadic
#975AA2 #A2975A #5AA297
tetradic
#975AA2 #A2735A #65A25A #5A89A2
square
#975AA2 #A2735A #65A25A #5A89A2
split-complementary
#975AA2 #89A25A #5AA273
monochromatic
#4E2E53 #72447B #975AA2 #B080B9 #C9A8CF

Accessibility & contrast

On white

4.88
#975AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#975AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AA2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AA2#FFFFFF#000000##FFFFFF
##975AA21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA5
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#986376
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #975aa2;
/* rgb */ color: rgb(151, 90, 162);
/* oklch */ color: oklch(56.4% 0.127 321.3);
Tailwind
colors: {
  custom: {
    50: '#b78abe',
    500: '#975aa2',
    950: '#000000',
  },
}
SCSS
$custom: #975aa2;
$custom-light: #b78abe;
$custom-dark: #000000;
JSON
{
  "hex": "#975aa2",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 290.833,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.12679,
    "h": 321.3
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#975AA2
secondary
#A0BD9B
accent
#C56372
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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