#975BB2#975BB2

#975BB2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.3% C 0.143 H 314.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#975BB2
RGBrgb(151, 91, 178)
HSLhsl(281, 36%, 53%)
HSVhsv(281, 49%, 70%)
CMYKcmyk(15.2%, 48.9%, 0%, 30.2%)
CIE-LABlab(48.61, 39.90, -36.64)
CIE-LCHlch(48.61, 54.17, 317.43°)
OKLaboklab(57.35% 0.1001 -0.1019)
OKLCHoklch(57.35% 0.143 314.5)
XYZxyz(24.5382, 17.2765, 44.1529)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BB2 #76B25B
analogous
#6B5BB2 #975BB2 #B25BA2
triadic
#975BB2 #B2975B #5BB297
tetradic
#975BB2 #B26B5B #76B25B #5BA2B2
square
#975BB2 #B26B5B #76B25B #5BA2B2
split-complementary
#975BB2 #A2B25B #5BB26B
monochromatic
#532F64 #76428D #975BB2 #B185C6 #CCAED9

Accessibility & contrast

On white

4.71
#975BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#975BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975BB2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BB2#FFFFFF#000000##FFFFFF
##975BB21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#95687E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975bb2;
/* rgb */ color: rgb(151, 91, 178);
/* oklch */ color: oklch(57.3% 0.143 314.5);
Tailwind
colors: {
  custom: {
    50: '#b78bc9',
    500: '#975bb2',
    950: '#000000',
  },
}
SCSS
$custom: #975bb2;
$custom-light: #b78bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#975bb2",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 281.379,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.14284,
    "h": 314.5
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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