#975792#975792

#975792 is a mid, moderate purple. Relative luminance 0.155; OKLCH L 55.1% C 0.116 H 329.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#975792
RGBrgb(151, 87, 146)
HSLhsl(305, 27%, 47%)
HSVhsv(305, 42%, 59%)
CMYKcmyk(0%, 42.4%, 3.3%, 40.8%)
CIE-LABlab(46.27, 35.56, -21.38)
CIE-LCHlch(46.27, 41.49, 328.98°)
OKLaboklab(55.12% 0.1001 -0.0581)
OKLCHoklch(55.12% 0.116 329.9)
XYZxyz(21.3587, 15.4721, 29.0499)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975792 #57975C
analogous
#7C5797 #975792 #975772
triadic
#975792 #929757 #579297
tetradic
#975792 #977C57 #57975C #577297
square
#975792 #977C57 #57975C #577297
split-complementary
#975792 #729757 #57977C
monochromatic
#492A47 #70416C #975792 #B279AE #C8A0C5

Accessibility & contrast

On white

5.13
#975792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#975792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975792
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975792#FFFFFF#000000##FFFFFF
##9757921.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546894
Deuteranopia (green-blind)
#657190
Tritanopia (blue-blind)
#9B5C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #975792;
/* rgb */ color: rgb(151, 87, 146);
/* oklch */ color: oklch(55.1% 0.116 329.9);
Tailwind
colors: {
  custom: {
    50: '#b788b2',
    500: '#975792',
    950: '#000000',
  },
}
SCSS
$custom: #975792;
$custom-light: #b788b2;
$custom-dark: #000000;
JSON
{
  "hex": "#975792",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 304.688,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55123,
    "c": 0.11575,
    "h": 329.9
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#975792
secondary
#94B697
accent
#C36C65
background
#FBF8FA
surface
#F6F0F5
border
#D0CBCF
text
#110B11
muted
#807C80

Preview Lab

Preview with #975792

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

Preview Lab → · Contrast checker → · Palette generator →

#975792 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva