#7A5684#7A5684

#7A5684 is a mid, moderate purple. Relative luminance 0.125; OKLCH L 50.9% C 0.083 H 318.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7A5684
RGBrgb(122, 86, 132)
HSLhsl(287, 21%, 43%)
HSVhsv(287, 35%, 52%)
CMYKcmyk(7.6%, 34.8%, 0%, 48.2%)
CIE-LABlab(41.94, 23.55, -19.93)
CIE-LCHlch(41.94, 30.85, 319.76°)
OKLaboklab(50.88% 0.0622 -0.0545)
OKLCHoklch(50.88% 0.083 318.8)
XYZxyz(15.5181, 12.4595, 23.4128)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5684 #608456
analogous
#635684 #7A5684 #845677
triadic
#7A5684 #847A56 #56847A
tetradic
#7A5684 #846356 #608456 #567784
square
#7A5684 #846356 #608456 #567784
split-complementary
#7A5684 #778456 #568463
monochromatic
#36263A #583E5F #7A5684 #9973A4 #B498BC

Accessibility & contrast

On white

6.01
#7A5684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7A5684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5684
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5684#FFFFFF#000000##FFFFFF
##7A56841.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506186
Deuteranopia (green-blind)
#596483
Tritanopia (blue-blind)
#7A5B67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a5684;
/* rgb */ color: rgb(122, 86, 132);
/* oklch */ color: oklch(50.9% 0.083 318.8);
Tailwind
colors: {
  custom: {
    50: '#a186a8',
    500: '#7a5684',
    950: '#000000',
  },
}
SCSS
$custom: #7a5684;
$custom-light: #a186a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5684",
  "rgb": {
    "r": 122,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 286.957,
    "s": 21.101,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.08266,
    "h": 318.8
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#7A5684
secondary
#93AA8C
accent
#BE6A7C
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #7A5684

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

Preview Lab → · Contrast checker → · Palette generator →

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