#7F597A#7F597A

#7F597A is a mid, moderate purple. Relative luminance 0.131; OKLCH L 51.6% C 0.069 H 331.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7F597A
RGBrgb(127, 89, 122)
HSLhsl(308, 18%, 42%)
HSVhsv(308, 30%, 50%)
CMYKcmyk(0%, 29.9%, 3.9%, 50.2%)
CIE-LABlab(42.86, 21.44, -12.39)
CIE-LCHlch(42.86, 24.77, 329.98°)
OKLaboklab(51.58% 0.0605 -0.0333)
OKLCHoklch(51.58% 0.069 331.2)
XYZxyz(15.8374, 13.0625, 20.0956)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F597A #597F5E
analogous
#71597F #7F597A #7F5967
triadic
#7F597A #7A7F59 #597A7F
tetradic
#7F597A #7F7159 #597F5E #59677F
square
#7F597A #7F7159 #597F5E #59677F
split-complementary
#7F597A #677F59 #597F71
monochromatic
#372735 #5B4057 #7F597A #9F769A #B89AB4

Accessibility & contrast

On white

5.81
#7F597A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7F597A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F597A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F597A#FFFFFF#000000##FFFFFF
##7F597A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627B
Deuteranopia (green-blind)
#616779
Tritanopia (blue-blind)
#825B65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f597a;
/* rgb */ color: rgb(127, 89, 122);
/* oklch */ color: oklch(51.6% 0.069 331.2);
Tailwind
colors: {
  custom: {
    50: '#a488a0',
    500: '#7f597a',
    950: '#000000',
  },
}
SCSS
$custom: #7f597a;
$custom-light: #a488a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f597a",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 122
  },
  "hsl": {
    "h": 307.895,
    "s": 17.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.06902,
    "h": 331.2
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#7F597A
secondary
#8DA691
accent
#BA786E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#0F0B0E
muted
#7F7C7E

Preview Lab

Preview with #7F597A

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

Preview Lab → · Contrast checker → · Palette generator →

#7F597A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva