#975BB7#975BB7

#975BB7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.149 H 312.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#975BB7
RGBrgb(151, 91, 183)
HSLhsl(279, 39%, 54%)
HSVhsv(279, 50%, 72%)
CMYKcmyk(17.5%, 50.3%, 0%, 28.2%)
CIE-LABlab(48.86, 41.00, -39.16)
CIE-LCHlch(48.86, 56.69, 316.32°)
OKLaboklab(57.62% 0.1007 -0.1092)
OKLCHoklch(57.62% 0.149 312.7)
XYZxyz(25.0494, 17.4809, 46.8452)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BB7 #7BB75B
analogous
#695BB7 #975BB7 #B75BA9
triadic
#975BB7 #B7975B #5BB797
tetradic
#975BB7 #B7695B #7BB75B #5BA9B7
square
#975BB7 #B7695B #7BB75B #5BA9B7
split-complementary
#975BB7 #A9B75B #5BB769
monochromatic
#552E69 #774194 #975BB7 #B286CA #CDB0DC

Accessibility & contrast

On white

4.67
#975BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#975BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975BB7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BB7#FFFFFF#000000##FFFFFF
##975BB71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#5775B5
Tritanopia (blue-blind)
#946A81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975bb7;
/* rgb */ color: rgb(151, 91, 183);
/* oklch */ color: oklch(57.6% 0.149 312.7);
Tailwind
colors: {
  custom: {
    50: '#b88bcd',
    500: '#975bb7',
    950: '#000000',
  },
}
SCSS
$custom: #975bb7;
$custom-light: #b88bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#975bb7",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 279.13,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.14855,
    "h": 312.7
  },
  "luminance": 0.1748
}

Semantic roles & 50–950 ramp

primary
#975BB7
secondary
#B1CBA3
accent
#CF5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #975BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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