#7A5683#7A5683

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

Color values

HEX#7A5683
RGBrgb(122, 86, 131)
HSLhsl(288, 21%, 43%)
HSVhsv(288, 34%, 51%)
CMYKcmyk(6.9%, 34.4%, 0%, 48.6%)
CIE-LABlab(41.90, 23.33, -19.39)
CIE-LCHlch(41.90, 30.33, 320.27°)
OKLaboklab(50.84% 0.0619 -0.0529)
OKLCHoklch(50.84% 0.081 319.5)
XYZxyz(15.4500, 12.4323, 23.0541)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5683 #5F8356
analogous
#645683 #7A5683 #835675
triadic
#7A5683 #837A56 #56837A
tetradic
#7A5683 #836456 #5F8356 #567583
square
#7A5683 #836456 #5F8356 #567583
split-complementary
#7A5683 #758356 #568364
monochromatic
#352539 #583E5E #7A5683 #9A73A3 #B498BB

Accessibility & contrast

On white

6.02
#7A5683 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A5683
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5683#FFFFFF#000000##FFFFFF
##7A56831.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a5683;
/* rgb */ color: rgb(122, 86, 131);
/* oklch */ color: oklch(50.8% 0.081 319.5);
Tailwind
colors: {
  custom: {
    50: '#a186a7',
    500: '#7a5683',
    950: '#000000',
  },
}
SCSS
$custom: #7a5683;
$custom-light: #a186a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5683",
  "rgb": {
    "r": 122,
    "g": 86,
    "b": 131
  },
  "hsl": {
    "h": 288,
    "s": 20.737,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.08145,
    "h": 319.5
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#7A5683
secondary
#92A98C
accent
#BD6A7B
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #7A5683

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

Preview Lab → · Contrast checker → · Palette generator →

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