#975FAC#975FAC

#975FAC is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.7% C 0.129 H 316.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#975FAC
RGBrgb(151, 95, 172)
HSLhsl(284, 32%, 52%)
HSVhsv(284, 45%, 67%)
CMYKcmyk(12.2%, 44.8%, 0%, 32.5%)
CIE-LABlab(49.18, 36.38, -32.23)
CIE-LCHlch(49.18, 48.61, 318.46°)
OKLaboklab(57.68% 0.0933 -0.0892)
OKLCHoklch(57.68% 0.129 316.3)
XYZxyz(24.3000, 17.7430, 41.1664)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FAC #74AC5F
analogous
#705FAC #975FAC #AC5F9B
triadic
#975FAC #AC975F #5FAC97
tetradic
#975FAC #AC705F #74AC5F #5F9BAC
square
#975FAC #AC705F #74AC5F #5F9BAC
split-complementary
#975FAC #9BAC5F #5FAC70
monochromatic
#53315F #764688 #975FAC #B187C1 #CBB0D6

Accessibility & contrast

On white

4.62
#975FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#975FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975FAC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FAC#FFFFFF#000000##FFFFFF
##975FAC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#6077AA
Tritanopia (blue-blind)
#966A7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975fac;
/* rgb */ color: rgb(151, 95, 172);
/* oklch */ color: oklch(57.7% 0.129 316.3);
Tailwind
colors: {
  custom: {
    50: '#b78ec5',
    500: '#975fac',
    950: '#000000',
  },
}
SCSS
$custom: #975fac;
$custom-light: #b78ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#975fac",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 283.636,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.12909,
    "h": 316.3
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#975FAC
secondary
#ACC4A3
accent
#C8607C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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