#975AA7#975AA7

#975AA7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 56.6% C 0.132 H 319.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#975AA7
RGBrgb(151, 90, 167)
HSLhsl(288, 30%, 50%)
HSVhsv(288, 46%, 65%)
CMYKcmyk(9.6%, 46.1%, 0%, 34.5%)
CIE-LABlab(47.86, 38.09, -31.38)
CIE-LCHlch(47.86, 49.35, 320.52°)
OKLaboklab(56.61% 0.0999 -0.0867)
OKLCHoklch(56.61% 0.132 319.1)
XYZxyz(23.3928, 16.6825, 38.5395)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AA7 #6AA75A
analogous
#705AA7 #975AA7 #A75A91
triadic
#975AA7 #A7975A #5AA797
tetradic
#975AA7 #A7705A #6AA75A #5A91A7
square
#975AA7 #A7705A #6AA75A #5A91A7
split-complementary
#975AA7 #91A75A #5AA770
monochromatic
#4F2F58 #734480 #975AA7 #B082BC #C9AAD2

Accessibility & contrast

On white

4.84
#975AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#975AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AA7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AA7#FFFFFF#000000##FFFFFF
##975AA71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DAA
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#976479
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #975aa7;
/* rgb */ color: rgb(151, 90, 167);
/* oklch */ color: oklch(56.6% 0.132 319.1);
Tailwind
colors: {
  custom: {
    50: '#b78ac1',
    500: '#975aa7',
    950: '#000000',
  },
}
SCSS
$custom: #975aa7;
$custom-light: #b78ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#975aa7",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 287.532,
    "s": 30.435,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.13224,
    "h": 319.1
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#975AA7
secondary
#A4C09D
accent
#C76176
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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