#7B577D#7B577D

#7B577D is a mid, moderate purple. Relative luminance 0.125; OKLCH L 50.9% C 0.073 H 324.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7B577D
RGBrgb(123, 87, 125)
HSLhsl(297, 18%, 42%)
HSVhsv(297, 30%, 49%)
CMYKcmyk(1.6%, 30.4%, 0%, 51%)
CIE-LABlab(42.01, 21.80, -15.54)
CIE-LCHlch(42.01, 26.78, 324.51°)
OKLaboklab(50.87% 0.0597 -0.0421)
OKLCHoklch(50.87% 0.073 324.8)
XYZxyz(15.2779, 12.5085, 21.0077)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B577D #597D57
analogous
#68577D #7B577D #7D576C
triadic
#7B577D #7D7B57 #577D7B
tetradic
#7B577D #7D6857 #597D57 #576C7D
square
#7B577D #7D6857 #597D57 #576C7D
split-complementary
#7B577D #6C7D57 #577D68
monochromatic
#342535 #573E59 #7B577D #9C739E #B597B7

Accessibility & contrast

On white

6.00
#7B577D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B577D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B577D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B577D#FFFFFF#000000##FFFFFF
##7B577D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#7D5B65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b577d;
/* rgb */ color: rgb(123, 87, 125);
/* oklch */ color: oklch(50.9% 0.073 324.8);
Tailwind
colors: {
  custom: {
    50: '#a287a2',
    500: '#7b577d',
    950: '#000000',
  },
}
SCSS
$custom: #7b577d;
$custom-light: #a287a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b577d",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 296.842,
    "s": 17.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.0731,
    "h": 324.8
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#7B577D
secondary
#8CA58B
accent
#BB6D71
background
#FAF8FA
surface
#F3EFF3
border
#CDCACD
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7B577D

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

Preview Lab → · Contrast checker → · Palette generator →

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