#975FA8#975FA8

#975FA8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.5% C 0.125 H 318.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#975FA8
RGBrgb(151, 95, 168)
HSLhsl(286, 30%, 52%)
HSVhsv(286, 43%, 66%)
CMYKcmyk(10.1%, 43.5%, 0%, 34.1%)
CIE-LABlab(49.00, 35.53, -30.18)
CIE-LCHlch(49.00, 46.62, 319.65°)
OKLaboklab(57.48% 0.0926 -0.0833)
OKLCHoklch(57.48% 0.125 318)
XYZxyz(23.9216, 17.5916, 39.1736)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FA8 #70A85F
analogous
#735FA8 #975FA8 #A85F95
triadic
#975FA8 #A8975F #5FA897
tetradic
#975FA8 #A8735F #70A85F #5F95A8
square
#975FA8 #A8735F #70A85F #5F95A8
split-complementary
#975FA8 #95A85F #5FA873
monochromatic
#51325B #754783 #975FA8 #B187BE #CBAED3

Accessibility & contrast

On white

4.65
#975FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#975FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975FA8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FA8#FFFFFF#000000##FFFFFF
##975FA81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AB
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#97697B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975fa8;
/* rgb */ color: rgb(151, 95, 168);
/* oklch */ color: oklch(57.5% 0.125 318.0);
Tailwind
colors: {
  custom: {
    50: '#b78ec2',
    500: '#975fa8',
    950: '#000000',
  },
}
SCSS
$custom: #975fa8;
$custom-light: #b78ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#975fa8",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 286.027,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.12453,
    "h": 318
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#975FA8
secondary
#A9C1A1
accent
#C66279
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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