#975CB5#975CB5

#975CB5 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.145 H 313.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#975CB5
RGBrgb(151, 92, 181)
HSLhsl(280, 38%, 54%)
HSVhsv(280, 49%, 71%)
CMYKcmyk(16.6%, 49.2%, 0%, 29%)
CIE-LABlab(48.97, 40.01, -37.82)
CIE-LCHlch(48.97, 55.05, 316.61°)
OKLaboklab(57.67% 0.0991 -0.1053)
OKLCHoklch(57.67% 0.145 313.3)
XYZxyz(24.9287, 17.5704, 45.7853)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CB5 #7AB55C
analogous
#6A5CB5 #975CB5 #B55CA6
triadic
#975CB5 #B5975C #5CB597
tetradic
#975CB5 #B56A5C #7AB55C #5CA6B5
square
#975CB5 #B56A5C #7AB55C #5CA6B5
split-complementary
#975CB5 #A6B55C #5CB56A
monochromatic
#552F68 #774292 #975CB5 #B286C8 #CDB0DB

Accessibility & contrast

On white

4.65
#975CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#975CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975CB5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CB5#FFFFFF#000000##FFFFFF
##975CB51.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#5976B3
Tritanopia (blue-blind)
#946A80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975cb5;
/* rgb */ color: rgb(151, 92, 181);
/* oklch */ color: oklch(57.7% 0.145 313.3);
Tailwind
colors: {
  custom: {
    50: '#b78ccb',
    500: '#975cb5',
    950: '#000000',
  },
}
SCSS
$custom: #975cb5;
$custom-light: #b78ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#975cb5",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 279.775,
    "s": 37.553,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.14458,
    "h": 313.3
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

primary
#975CB5
secondary
#B0C9A3
accent
#CE5A81
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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