#975AAF#975AAF

#975AAF is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.0% C 0.141 H 315.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#975AAF
RGBrgb(151, 90, 175)
HSLhsl(283, 35%, 52%)
HSVhsv(283, 49%, 69%)
CMYKcmyk(13.7%, 48.6%, 0%, 31.4%)
CIE-LABlab(48.24, 39.79, -35.46)
CIE-LCHlch(48.24, 53.30, 318.30°)
OKLaboklab(57.03% 0.1011 -0.0984)
OKLCHoklch(57.03% 0.141 315.8)
XYZxyz(24.1553, 16.9875, 42.5556)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AAF #72AF5A
analogous
#6D5AAF #975AAF #AF5A9D
triadic
#975AAF #AF975A #5AAF97
tetradic
#975AAF #AF6D5A #72AF5A #5A9DAF
square
#975AAF #AF6D5A #72AF5A #5A9DAF
split-complementary
#975AAF #9DAF5A #5AAF6D
monochromatic
#522F60 #754389 #975AAF #B183C3 #CBACD7

Accessibility & contrast

On white

4.78
#975AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#975AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AAF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AAF#FFFFFF#000000##FFFFFF
##975AAF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#5B74AD
Tritanopia (blue-blind)
#96667C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975aaf;
/* rgb */ color: rgb(151, 90, 175);
/* oklch */ color: oklch(57.0% 0.141 315.8);
Tailwind
colors: {
  custom: {
    50: '#b78ac7',
    500: '#975aaf',
    950: '#000000',
  },
}
SCSS
$custom: #975aaf;
$custom-light: #b78ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#975aaf",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 283.059,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.14114,
    "h": 315.8
  },
  "luminance": 0.16987
}

Semantic roles & 50–950 ramp

primary
#975AAF
secondary
#AAC5A0
accent
#CB5D7C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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