#975BB4#975BB4

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

Color values

HEX#975BB4
RGBrgb(151, 91, 180)
HSLhsl(280, 37%, 53%)
HSVhsv(280, 49%, 71%)
CMYKcmyk(16.1%, 49.4%, 0%, 29.4%)
CIE-LABlab(48.71, 40.34, -37.65)
CIE-LCHlch(48.71, 55.18, 316.97°)
OKLaboklab(57.45% 0.1004 -0.1048)
OKLCHoklch(57.45% 0.145 313.8)
XYZxyz(24.7404, 17.3574, 45.2182)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BB4 #78B45B
analogous
#6A5BB4 #975BB4 #B45BA4
triadic
#975BB4 #B4975B #5BB497
tetradic
#975BB4 #B46A5B #78B45B #5BA4B4
square
#975BB4 #B46A5B #78B45B #5BA4B4
split-complementary
#975BB4 #A4B45B #5BB46A
monochromatic
#542F66 #774290 #975BB4 #B285C7 #CCAFDA

Accessibility & contrast

On white

4.70
#975BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#975BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975BB4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BB4#FFFFFF#000000##FFFFFF
##975BB41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#95697F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975bb4;
/* rgb */ color: rgb(151, 91, 180);
/* oklch */ color: oklch(57.5% 0.145 313.8);
Tailwind
colors: {
  custom: {
    50: '#b78bcb',
    500: '#975bb4',
    950: '#000000',
  },
}
SCSS
$custom: #975bb4;
$custom-light: #b78bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#975bb4",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 280.449,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57453,
    "c": 0.14512,
    "h": 313.8
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#975BB4
secondary
#AFC9A2
accent
#CD5B80
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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