#975FB1#975FB1

#975FB1 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 57.9% C 0.135 H 314.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#975FB1
RGBrgb(151, 95, 177)
HSLhsl(281, 34%, 53%)
HSVhsv(281, 46%, 69%)
CMYKcmyk(14.7%, 46.3%, 0%, 30.6%)
CIE-LABlab(49.42, 37.47, -34.78)
CIE-LCHlch(49.42, 51.12, 317.13°)
OKLaboklab(57.94% 0.0942 -0.0965)
OKLCHoklch(57.94% 0.135 314.3)
XYZxyz(24.7892, 17.9387, 43.7431)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FB1 #79B15F
analogous
#6E5FB1 #975FB1 #B15FA2
triadic
#975FB1 #B1975F #5FB197
tetradic
#975FB1 #B16E5F #79B15F #5FA2B1
square
#975FB1 #B16E5F #79B15F #5FA2B1
split-complementary
#975FB1 #A2B15F #5FB16E
monochromatic
#543165 #77458E #975FB1 #B288C5 #CCB1D9

Accessibility & contrast

On white

4.58
#975FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#975FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FB1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FB1#FFFFFF#000000##000000
##975FB11.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B4
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#956B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975fb1;
/* rgb */ color: rgb(151, 95, 177);
/* oklch */ color: oklch(57.9% 0.135 314.3);
Tailwind
colors: {
  custom: {
    50: '#b78ec8',
    500: '#975fb1',
    950: '#000000',
  },
}
SCSS
$custom: #975fb1;
$custom-light: #b78ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#975fb1",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 280.976,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.13485,
    "h": 314.3
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#975FB1
secondary
#AFC8A4
accent
#CB5D80
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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