#975AB2#975AB2

#975AB2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.2% C 0.145 H 314.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#975AB2
RGBrgb(151, 90, 178)
HSLhsl(282, 36%, 53%)
HSVhsv(282, 49%, 70%)
CMYKcmyk(15.2%, 49.4%, 0%, 30.2%)
CIE-LABlab(48.39, 40.45, -36.98)
CIE-LCHlch(48.39, 54.80, 317.56°)
OKLaboklab(57.19% 0.1016 -0.1028)
OKLCHoklch(57.19% 0.145 314.6)
XYZxyz(24.4533, 17.1066, 44.1246)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AB2 #75B25A
analogous
#6B5AB2 #975AB2 #B25AA1
triadic
#975AB2 #B2975A #5AB297
tetradic
#975AB2 #B26B5A #75B25A #5AA1B2
square
#975AB2 #B26B5A #75B25A #5AA1B2
split-complementary
#975AB2 #A1B25A #5AB26B
monochromatic
#532E63 #76428D #975AB2 #B184C5 #CCADD9

Accessibility & contrast

On white

4.75
#975AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#975AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AB2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AB2#FFFFFF#000000##FFFFFF
##975AB21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#95677E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975ab2;
/* rgb */ color: rgb(151, 90, 178);
/* oklch */ color: oklch(57.2% 0.145 314.6);
Tailwind
colors: {
  custom: {
    50: '#b78ac9',
    500: '#975ab2',
    950: '#000000',
  },
}
SCSS
$custom: #975ab2;
$custom-light: #b78ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#975ab2",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 281.591,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.14454,
    "h": 314.6
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#975AB2
secondary
#ADC7A1
accent
#CC5B7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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