#975CB7#975CB7

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

Color values

HEX#975CB7
RGBrgb(151, 92, 183)
HSLhsl(279, 39%, 54%)
HSVhsv(279, 50%, 72%)
CMYKcmyk(17.5%, 49.7%, 0%, 28.2%)
CIE-LABlab(49.07, 40.45, -38.82)
CIE-LCHlch(49.07, 56.07, 316.18°)
OKLaboklab(57.77% 0.0993 -0.1082)
OKLCHoklch(57.77% 0.147 312.6)
XYZxyz(25.1354, 17.6531, 46.8738)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CB7 #7CB75C
analogous
#6A5CB7 #975CB7 #B75CAA
triadic
#975CB7 #B7975C #5CB797
tetradic
#975CB7 #B76A5C #7CB75C #5CAAB7
square
#975CB7 #B76A5C #7CB75C #5CAAB7
split-complementary
#975CB7 #AAB75C #5CB76A
monochromatic
#552F6A #774294 #975CB7 #B286CA #CDB1DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975CB7#FFFFFF#000000##FFFFFF
##975CB71.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)
#4771BA
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#946A81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975cb7;
/* rgb */ color: rgb(151, 92, 183);
/* oklch */ color: oklch(57.8% 0.147 312.6);
Tailwind
colors: {
  custom: {
    50: '#b78ccd',
    500: '#975cb7',
    950: '#000000',
  },
}
SCSS
$custom: #975cb7;
$custom-light: #b78ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#975cb7",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 278.901,
    "s": 38.723,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.14688,
    "h": 312.6
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#975CB7
secondary
#B2CBA4
accent
#CF5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #975CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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