#7E5B7B#7E5B7B

#7E5B7B is a mid, moderate purple. Relative luminance 0.133; OKLCH L 51.9% C 0.065 H 329.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7E5B7B
RGBrgb(126, 91, 123)
HSLhsl(305, 16%, 43%)
HSVhsv(305, 28%, 49%)
CMYKcmyk(0%, 27.8%, 2.4%, 50.6%)
CIE-LABlab(43.28, 20.08, -12.37)
CIE-LCHlch(43.28, 23.59, 328.38°)
OKLaboklab(51.89% 0.0562 -0.0332)
OKLCHoklch(51.89% 0.065 329.4)
XYZxyz(15.9201, 13.3484, 20.4729)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5B7B #5B7E5E
analogous
#705B7E #7E5B7B #7E5B69
triadic
#7E5B7B #7B7E5B #5B7B7E
tetradic
#7E5B7B #7E705B #5B7E5E #5B697E
square
#7E5B7B #7E705B #5B7E5E #5B697E
split-complementary
#7E5B7B #697E5B #5B7E70
monochromatic
#372836 #5A4158 #7E5B7B #9E789B #B79CB5

Accessibility & contrast

On white

5.72
#7E5B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7E5B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5B7B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5B7B#FFFFFF#000000##FFFFFF
##7E5B7B1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637C
Deuteranopia (green-blind)
#62687A
Tritanopia (blue-blind)
#815D66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e5b7b;
/* rgb */ color: rgb(126, 91, 123);
/* oklch */ color: oklch(51.9% 0.065 329.4);
Tailwind
colors: {
  custom: {
    50: '#a48aa1',
    500: '#7e5b7b',
    950: '#000000',
  },
}
SCSS
$custom: #7e5b7b;
$custom-light: #a48aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5b7b",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 123
  },
  "hsl": {
    "h": 305.143,
    "s": 16.129,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.06529,
    "h": 329.4
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#7E5B7B
secondary
#8FA691
accent
#B9756F
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#0F0B0F
muted
#7F7C7E

Preview Lab

Preview with #7E5B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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