#7E5F7B#7E5F7B

#7E5F7B is a mid, muted purple. Relative luminance 0.141; OKLCH L 52.7% C 0.057 H 329.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7E5F7B
RGBrgb(126, 95, 123)
HSLhsl(306, 14%, 43%)
HSVhsv(306, 25%, 49%)
CMYKcmyk(0%, 24.6%, 2.4%, 50.6%)
CIE-LABlab(44.31, 17.69, -10.82)
CIE-LCHlch(44.31, 20.74, 328.55°)
OKLaboklab(52.68% 0.0495 -0.029)
OKLCHoklch(52.68% 0.057 329.6)
XYZxyz(16.2712, 14.0506, 20.5900)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5F7B #5F7E62
analogous
#715F7E #7E5F7B #7E5F6B
triadic
#7E5F7B #7B7E5F #5F7B7E
tetradic
#7E5F7B #7E715F #5F7E62 #5F6B7E
square
#7E5F7B #7E715F #5F7E62 #5F6B7E
split-complementary
#7E5F7B #6B7E5F #5F7E71
monochromatic
#382A37 #5B4559 #7E5F7B #9D7D9A #B7A0B5

Accessibility & contrast

On white

5.51
#7E5F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7E5F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5F7B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5F7B#FFFFFF#000000##FFFFFF
##7E5F7B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E667C
Deuteranopia (green-blind)
#656A7A
Tritanopia (blue-blind)
#816169
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e5f7b;
/* rgb */ color: rgb(126, 95, 123);
/* oklch */ color: oklch(52.7% 0.057 329.6);
Tailwind
colors: {
  custom: {
    50: '#a38ca1',
    500: '#7e5f7b',
    950: '#000000',
  },
}
SCSS
$custom: #7e5f7b;
$custom-light: #a38ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5f7b",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 305.806,
    "s": 14.027,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.05738,
    "h": 329.6
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#7E5F7B
secondary
#93A695
accent
#B77871
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#0F0C0F
muted
#7F7D7E

Preview Lab

Preview with #7E5F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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