#7E5983#7E5983

#7E5983 is a mid, moderate purple. Relative luminance 0.132; OKLCH L 51.8% C 0.078 H 322.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7E5983
RGBrgb(126, 89, 131)
HSLhsl(293, 19%, 43%)
HSVhsv(293, 32%, 51%)
CMYKcmyk(3.8%, 32.1%, 0%, 48.6%)
CIE-LABlab(43.09, 22.93, -17.51)
CIE-LCHlch(43.09, 28.85, 322.64°)
OKLaboklab(51.85% 0.062 -0.0476)
OKLCHoklch(51.85% 0.078 322.5)
XYZxyz(16.2728, 13.2195, 23.1627)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5983 #5E8359
analogous
#695983 #7E5983 #835973
triadic
#7E5983 #837E59 #59837E
tetradic
#7E5983 #836959 #5E8359 #597383
square
#7E5983 #836959 #5E8359 #597383
split-complementary
#7E5983 #738359 #598369
monochromatic
#38273A #5B405F #7E5983 #9D77A2 #B79BBB

Accessibility & contrast

On white

5.76
#7E5983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7E5983 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5983
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5983#FFFFFF#000000##FFFFFF
##7E59831.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556385
Deuteranopia (green-blind)
#5E6782
Tritanopia (blue-blind)
#7F5D68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e5983;
/* rgb */ color: rgb(126, 89, 131);
/* oklch */ color: oklch(51.8% 0.078 322.5);
Tailwind
colors: {
  custom: {
    50: '#a488a7',
    500: '#7e5983',
    950: '#000000',
  },
}
SCSS
$custom: #7e5983;
$custom-light: #a488a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5983",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 131
  },
  "hsl": {
    "h": 292.857,
    "s": 19.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.07819,
    "h": 322.5
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#7E5983
secondary
#92A98F
accent
#BC6C76
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E5983

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

Preview Lab → · Contrast checker → · Palette generator →

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