#975BBB#975BBB

#975BBB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.153 H 311.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#975BBB
RGBrgb(151, 91, 187)
HSLhsl(278, 41%, 55%)
HSVhsv(278, 51%, 73%)
CMYKcmyk(19.3%, 51.3%, 0%, 26.7%)
CIE-LABlab(49.07, 41.89, -41.15)
CIE-LCHlch(49.07, 58.72, 315.51°)
OKLaboklab(57.84% 0.1012 -0.115)
OKLCHoklch(57.84% 0.153 311.3)
XYZxyz(25.4716, 17.6499, 49.0690)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BBB #7FBB5B
analogous
#675BBB #975BBB #BB5BAF
triadic
#975BBB #BB975B #5BBB97
tetradic
#975BBB #BB675B #7FBB5B #5BAFBB
square
#975BBB #BB675B #7FBB5B #5BAFBB
split-complementary
#975BBB #AFBB5B #5BBB67
monochromatic
#562E6E #784099 #975BBB #B286CD #CEB2DF

Accessibility & contrast

On white

4.64
#975BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#975BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975BBB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BBB#FFFFFF#000000##FFFFFF
##975BBB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#936B82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975bbb;
/* rgb */ color: rgb(151, 91, 187);
/* oklch */ color: oklch(57.8% 0.153 311.3);
Tailwind
colors: {
  custom: {
    50: '#b88bd0',
    500: '#975bbb',
    950: '#000000',
  },
}
SCSS
$custom: #975bbb;
$custom-light: #b88bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#975bbb",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 277.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.15315,
    "h": 311.3
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#975BBB
secondary
#B4CDA5
accent
#D15785
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #975BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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