#7D5E7B#7D5E7B

#7D5E7B is a mid, muted purple. Relative luminance 0.138; OKLCH L 52.4% C 0.059 H 328.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7D5E7B
RGBrgb(125, 94, 123)
HSLhsl(304, 14%, 43%)
HSVhsv(304, 25%, 49%)
CMYKcmyk(0%, 24.8%, 1.6%, 51%)
CIE-LABlab(43.94, 17.92, -11.39)
CIE-LCHlch(43.94, 21.23, 327.57°)
OKLaboklab(52.37% 0.0499 -0.0306)
OKLCHoklch(52.37% 0.059 328.5)
XYZxyz(16.0350, 13.7959, 20.5533)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5E7B #5E7D60
analogous
#6F5E7D #7D5E7B #7D5E6B
triadic
#7D5E7B #7B7D5E #5E7B7D
tetradic
#7D5E7B #7D6F5E #5E7D60 #5E6B7D
square
#7D5E7B #7D6F5E #5E7D60 #5E6B7D
split-complementary
#7D5E7B #6B7D5E #5E7D6F
monochromatic
#372936 #5A4459 #7D5E7B #9C7C9A #B79FB5

Accessibility & contrast

On white

5.59
#7D5E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7D5E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5E7B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5E7B#FFFFFF#000000##FFFFFF
##7D5E7B1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D657C
Deuteranopia (green-blind)
#64697A
Tritanopia (blue-blind)
#7F6068
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d5e7b;
/* rgb */ color: rgb(125, 94, 123);
/* oklch */ color: oklch(52.4% 0.059 328.5);
Tailwind
colors: {
  custom: {
    50: '#a38ca1',
    500: '#7d5e7b',
    950: '#000000',
  },
}
SCSS
$custom: #7d5e7b;
$custom-light: #a38ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5e7b",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 123
  },
  "hsl": {
    "h": 303.871,
    "s": 14.155,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.05855,
    "h": 328.5
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#7D5E7B
secondary
#92A593
accent
#B77571
background
#FAF8F9
surface
#F3F0F2
border
#CDCBCC
text
#0F0C0F
muted
#7F7D7E

Preview Lab

Preview with #7D5E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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