#7E5B83#7E5B83

#7E5B83 is a mid, moderate purple. Relative luminance 0.136; OKLCH L 52.2% C 0.074 H 322.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7E5B83
RGBrgb(126, 91, 131)
HSLhsl(293, 18%, 44%)
HSVhsv(293, 31%, 51%)
CMYKcmyk(3.8%, 30.5%, 0%, 48.6%)
CIE-LABlab(43.59, 21.74, -16.75)
CIE-LCHlch(43.59, 27.44, 322.39°)
OKLaboklab(52.23% 0.0588 -0.0455)
OKLCHoklch(52.23% 0.074 322.3)
XYZxyz(16.4415, 13.5569, 23.2190)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5B83 #60835B
analogous
#6A5B83 #7E5B83 #835B74
triadic
#7E5B83 #837E5B #5B837E
tetradic
#7E5B83 #836A5B #60835B #5B7483
square
#7E5B83 #836A5B #60835B #5B7483
split-complementary
#7E5B83 #74835B #5B836A
monochromatic
#39293B #5B425F #7E5B83 #9D79A2 #B79DBB

Accessibility & contrast

On white

5.66
#7E5B83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7E5B83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5B83
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5B83#FFFFFF#000000##FFFFFF
##7E5B831.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576485
Deuteranopia (green-blind)
#5F6882
Tritanopia (blue-blind)
#7F5F69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e5b83;
/* rgb */ color: rgb(126, 91, 131);
/* oklch */ color: oklch(52.2% 0.074 322.3);
Tailwind
colors: {
  custom: {
    50: '#a48aa7',
    500: '#7e5b83',
    950: '#000000',
  },
}
SCSS
$custom: #7e5b83;
$custom-light: #a48aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5b83",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 131
  },
  "hsl": {
    "h": 292.5,
    "s": 18.018,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.0743,
    "h": 322.3
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#7E5B83
secondary
#94A991
accent
#BB6D77
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E5B83

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

Preview Lab → · Contrast checker → · Palette generator →

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