#975BB8#975BB8

#975BB8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.150 H 312.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#975BB8
RGBrgb(151, 91, 184)
HSLhsl(279, 40%, 54%)
HSVhsv(279, 51%, 72%)
CMYKcmyk(17.9%, 50.5%, 0%, 27.8%)
CIE-LABlab(48.91, 41.22, -39.66)
CIE-LCHlch(48.91, 57.20, 316.11°)
OKLaboklab(57.67% 0.1009 -0.1106)
OKLCHoklch(57.67% 0.15 312.4)
XYZxyz(25.1538, 17.5227, 47.3953)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BB8 #7CB85B
analogous
#695BB8 #975BB8 #B85BAA
triadic
#975BB8 #B8975B #5BB897
tetradic
#975BB8 #B8695B #7CB85B #5BAAB8
square
#975BB8 #B8695B #7CB85B #5BAAB8
split-complementary
#975BB8 #AAB85B #5BB869
monochromatic
#552E6A #774195 #975BB8 #B286CA #CDB0DD

Accessibility & contrast

On white

4.66
#975BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #975BB8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BB8#FFFFFF#000000##FFFFFF
##975BB81.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#5776B6
Tritanopia (blue-blind)
#946A81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975bb8;
/* rgb */ color: rgb(151, 91, 184);
/* oklch */ color: oklch(57.7% 0.150 312.4);
Tailwind
colors: {
  custom: {
    50: '#b88bce',
    500: '#975bb8',
    950: '#000000',
  },
}
SCSS
$custom: #975bb8;
$custom-light: #b88bce;
$custom-dark: #000000;
JSON
{
  "hex": "#975bb8",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 278.71,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.1497,
    "h": 312.4
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#975BB8
secondary
#B2CBA4
accent
#CF5883
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #975BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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