#975CB2#975CB2

#975CB2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.5% C 0.141 H 314.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#975CB2
RGBrgb(151, 92, 178)
HSLhsl(281, 36%, 53%)
HSVhsv(281, 48%, 70%)
CMYKcmyk(15.2%, 48.3%, 0%, 30.2%)
CIE-LABlab(48.82, 39.35, -36.31)
CIE-LCHlch(48.82, 53.54, 317.30°)
OKLaboklab(57.51% 0.0987 -0.1009)
OKLCHoklch(57.51% 0.141 314.4)
XYZxyz(24.6242, 17.4486, 44.1816)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CB2 #77B25C
analogous
#6C5CB2 #975CB2 #B25CA2
triadic
#975CB2 #B2975C #5CB297
tetradic
#975CB2 #B26C5C #77B25C #5CA2B2
square
#975CB2 #B26C5C #77B25C #5CA2B2
split-complementary
#975CB2 #A2B25C #5CB26C
monochromatic
#542F64 #76438E #975CB2 #B286C6 #CCAFD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975CB2#FFFFFF#000000##FFFFFF
##975CB21.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)
#4A71B5
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#95697F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975cb2;
/* rgb */ color: rgb(151, 92, 178);
/* oklch */ color: oklch(57.5% 0.141 314.4);
Tailwind
colors: {
  custom: {
    50: '#b78cc9',
    500: '#975cb2',
    950: '#000000',
  },
}
SCSS
$custom: #975cb2;
$custom-light: #b78cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#975cb2",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 281.163,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.14114,
    "h": 314.4
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#975CB2
secondary
#AEC7A2
accent
#CC5C7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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