#975BAF#975BAF

#975BAF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.2% C 0.139 H 315.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#975BAF
RGBrgb(151, 91, 175)
HSLhsl(283, 34%, 52%)
HSVhsv(283, 48%, 69%)
CMYKcmyk(13.7%, 48%, 0%, 31.4%)
CIE-LABlab(48.46, 39.25, -35.13)
CIE-LCHlch(48.46, 52.67, 318.17°)
OKLaboklab(57.19% 0.0997 -0.0975)
OKLCHoklch(57.19% 0.139 315.6)
XYZxyz(24.2403, 17.1573, 42.5839)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BAF #73AF5B
analogous
#6D5BAF #975BAF #AF5B9D
triadic
#975BAF #AF975B #5BAF97
tetradic
#975BAF #AF6D5B #73AF5B #5B9DAF
square
#975BAF #AF6D5B #73AF5B #5B9DAF
split-complementary
#975BAF #9DAF5B #5BAF6D
monochromatic
#522F61 #76438A #975BAF #B184C3 #CBADD7

Accessibility & contrast

On white

4.74
#975BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#975BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975BAF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BAF#FFFFFF#000000##FFFFFF
##975BAF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB2
Deuteranopia (green-blind)
#5C75AD
Tritanopia (blue-blind)
#96677D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975baf;
/* rgb */ color: rgb(151, 91, 175);
/* oklch */ color: oklch(57.2% 0.139 315.6);
Tailwind
colors: {
  custom: {
    50: '#b78bc7',
    500: '#975baf',
    950: '#000000',
  },
}
SCSS
$custom: #975baf;
$custom-light: #b78bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#975baf",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 282.857,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57186,
    "c": 0.13944,
    "h": 315.6
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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