#7A5682#7A5682

#7A5682 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.8% C 0.080 H 320.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7A5682
RGBrgb(122, 86, 130)
HSLhsl(289, 20%, 42%)
HSVhsv(289, 34%, 51%)
CMYKcmyk(6.2%, 33.8%, 0%, 49%)
CIE-LABlab(41.85, 23.11, -18.84)
CIE-LCHlch(41.85, 29.82, 320.81°)
OKLaboklab(50.79% 0.0616 -0.0514)
OKLCHoklch(50.79% 0.08 320.2)
XYZxyz(15.3826, 12.4053, 22.6989)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5682 #5E8256
analogous
#645682 #7A5682 #825674
triadic
#7A5682 #827A56 #56827A
tetradic
#7A5682 #826456 #5E8256 #567482
square
#7A5682 #826456 #5E8256 #567482
split-complementary
#7A5682 #748256 #568264
monochromatic
#352538 #573E5D #7A5682 #9A73A2 #B498BB

Accessibility & contrast

On white

6.03
#7A5682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7A5682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5682
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5682#FFFFFF#000000##FFFFFF
##7A56821.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516084
Deuteranopia (green-blind)
#596481
Tritanopia (blue-blind)
#7B5B66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a5682;
/* rgb */ color: rgb(122, 86, 130);
/* oklch */ color: oklch(50.8% 0.080 320.2);
Tailwind
colors: {
  custom: {
    50: '#a186a6',
    500: '#7a5682',
    950: '#000000',
  },
}
SCSS
$custom: #7a5682;
$custom-light: #a186a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5682",
  "rgb": {
    "r": 122,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 289.091,
    "s": 20.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.08024,
    "h": 320.2
  },
  "luminance": 0.12405
}

Semantic roles & 50–950 ramp

primary
#7A5682
secondary
#91A88B
accent
#BD6B7A
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #7A5682

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

Preview Lab → · Contrast checker → · Palette generator →

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