#7F597C#7F597C

#7F597C is a mid, moderate purple. Relative luminance 0.131; OKLCH L 51.7% C 0.071 H 329.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7F597C
RGBrgb(127, 89, 124)
HSLhsl(305, 18%, 42%)
HSVhsv(305, 30%, 50%)
CMYKcmyk(0%, 29.9%, 2.4%, 50.2%)
CIE-LABlab(42.93, 21.84, -13.49)
CIE-LCHlch(42.93, 25.68, 328.29°)
OKLaboklab(51.66% 0.0611 -0.0364)
OKLCHoklch(51.66% 0.071 329.3)
XYZxyz(15.9626, 13.1126, 20.7550)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F597C #597F5C
analogous
#6F597F #7F597C #7F5969
triadic
#7F597C #7C7F59 #597C7F
tetradic
#7F597C #7F6F59 #597F5C #59697F
square
#7F597C #7F6F59 #597F5C #59697F
split-complementary
#7F597C #697F59 #597F6F
monochromatic
#372736 #5B4059 #7F597C #9F769C #B89AB6

Accessibility & contrast

On white

5.80
#7F597C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7F597C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F597C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F597C#FFFFFF#000000##FFFFFF
##7F597C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627D
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#825C65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f597c;
/* rgb */ color: rgb(127, 89, 124);
/* oklch */ color: oklch(51.7% 0.071 329.3);
Tailwind
colors: {
  custom: {
    50: '#a488a2',
    500: '#7f597c',
    950: '#000000',
  },
}
SCSS
$custom: #7f597c;
$custom-light: #a488a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f597c",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 124
  },
  "hsl": {
    "h": 304.737,
    "s": 17.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.07112,
    "h": 329.3
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#7F597C
secondary
#8DA68F
accent
#BA746E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#0F0B0F
muted
#7F7C7E

Preview Lab

Preview with #7F597C

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

Preview Lab → · Contrast checker → · Palette generator →

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