#975BB6#975BB6

#975BB6 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.147 H 313.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#975BB6
RGBrgb(151, 91, 182)
HSLhsl(280, 38%, 54%)
HSVhsv(280, 50%, 71%)
CMYKcmyk(17%, 50%, 0%, 28.6%)
CIE-LABlab(48.81, 40.78, -38.66)
CIE-LCHlch(48.81, 56.19, 316.53°)
OKLaboklab(57.56% 0.1006 -0.1077)
OKLCHoklch(57.56% 0.147 313)
XYZxyz(24.9457, 17.4395, 46.2990)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BB6 #7AB65B
analogous
#695BB6 #975BB6 #B65BA8
triadic
#975BB6 #B6975B #5BB697
tetradic
#975BB6 #B6695B #7AB65B #5BA8B6
square
#975BB6 #B6695B #7AB65B #5BA8B6
split-complementary
#975BB6 #A8B65B #5BB669
monochromatic
#552E68 #774193 #975BB6 #B285C9 #CDB0DC

Accessibility & contrast

On white

4.68
#975BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#975BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975BB6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BB6#FFFFFF#000000##FFFFFF
##975BB61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671B9
Deuteranopia (green-blind)
#5875B4
Tritanopia (blue-blind)
#946980
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975bb6;
/* rgb */ color: rgb(151, 91, 182);
/* oklch */ color: oklch(57.6% 0.147 313.0);
Tailwind
colors: {
  custom: {
    50: '#b78bcc',
    500: '#975bb6',
    950: '#000000',
  },
}
SCSS
$custom: #975bb6;
$custom-light: #b78bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#975bb6",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 279.56,
    "s": 38.397,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.1474,
    "h": 313
  },
  "luminance": 0.17439
}

Semantic roles & 50–950 ramp

primary
#975BB6
secondary
#B0CAA3
accent
#CE5981
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #975BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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