#975FAF#975FAF

#975FAF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 57.8% C 0.133 H 315.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#975FAF
RGBrgb(151, 95, 175)
HSLhsl(282, 33%, 53%)
HSVhsv(282, 46%, 69%)
CMYKcmyk(13.7%, 45.7%, 0%, 31.4%)
CIE-LABlab(49.33, 37.03, -33.76)
CIE-LCHlch(49.33, 50.11, 317.64°)
OKLaboklab(57.83% 0.0939 -0.0936)
OKLCHoklch(57.83% 0.133 315.1)
XYZxyz(24.5914, 17.8595, 42.7009)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FAF #77AF5F
analogous
#6F5FAF #975FAF #AF5F9F
triadic
#975FAF #AF975F #5FAF97
tetradic
#975FAF #AF6F5F #77AF5F #5F9FAF
square
#975FAF #AF6F5F #77AF5F #5F9FAF
split-complementary
#975FAF #9FAF5F #5FAF6F
monochromatic
#543162 #76468B #975FAF #B288C3 #CCB1D8

Accessibility & contrast

On white

4.59
#975FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#975FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975FAF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FAF#FFFFFF#000000##FFFFFF
##975FAF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#5F77AD
Tritanopia (blue-blind)
#966A7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975faf;
/* rgb */ color: rgb(151, 95, 175);
/* oklch */ color: oklch(57.8% 0.133 315.1);
Tailwind
colors: {
  custom: {
    50: '#b78ec7',
    500: '#975faf',
    950: '#000000',
  },
}
SCSS
$custom: #975faf;
$custom-light: #b78ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#975faf",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 282,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.13253,
    "h": 315.1
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#975FAF
secondary
#AEC6A4
accent
#C95E7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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