#975AAA#975AAA

#975AAA is a mid, vivid purple. Relative luminance 0.168; OKLCH L 56.8% C 0.136 H 317.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#975AAA
RGBrgb(151, 90, 170)
HSLhsl(286, 32%, 51%)
HSVhsv(286, 47%, 67%)
CMYKcmyk(11.2%, 47.1%, 0%, 33.3%)
CIE-LABlab(48.00, 38.73, -32.91)
CIE-LCHlch(48.00, 50.82, 319.64°)
OKLaboklab(56.77% 0.1004 -0.0911)
OKLCHoklch(56.77% 0.136 317.8)
XYZxyz(23.6734, 16.7947, 40.0171)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AAA #6DAA5A
analogous
#6F5AAA #975AAA #AA5A95
triadic
#975AAA #AA975A #5AAA97
tetradic
#975AAA #AA6F5A #6DAA5A #5A95AA
square
#975AAA #AA6F5A #6DAA5A #5A95AA
split-complementary
#975AAA #95AA5A #5AAA6F
monochromatic
#502F5B #744483 #975AAA #B082BF #CAABD4

Accessibility & contrast

On white

4.82
#975AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#975AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AAA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AAA#FFFFFF#000000##FFFFFF
##975AAA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#97657A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #975aaa;
/* rgb */ color: rgb(151, 90, 170);
/* oklch */ color: oklch(56.8% 0.136 317.8);
Tailwind
colors: {
  custom: {
    50: '#b78ac3',
    500: '#975aaa',
    950: '#000000',
  },
}
SCSS
$custom: #975aaa;
$custom-light: #b78ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#975aaa",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 285.75,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.13556,
    "h": 317.8
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#975AAA
secondary
#A7C29E
accent
#C86078
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #975AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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