#7B5684#7B5684

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

Color values

HEX#7B5684
RGBrgb(123, 86, 132)
HSLhsl(288, 21%, 43%)
HSVhsv(288, 35%, 52%)
CMYKcmyk(6.8%, 34.8%, 0%, 48.2%)
CIE-LABlab(42.05, 23.89, -19.74)
CIE-LCHlch(42.05, 30.99, 320.43°)
OKLaboklab(51% 0.0634 -0.0539)
OKLCHoklch(51% 0.083 319.6)
XYZxyz(15.6605, 12.5329, 23.4195)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5684 #5F8456
analogous
#645684 #7B5684 #845676
triadic
#7B5684 #847B56 #56847B
tetradic
#7B5684 #846456 #5F8456 #567684
square
#7B5684 #846456 #5F8456 #567684
split-complementary
#7B5684 #768456 #568464
monochromatic
#36263A #583E5F #7B5684 #9A73A4 #B598BC

Accessibility & contrast

On white

5.99
#7B5684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7B5684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5684
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5684#FFFFFF#000000##FFFFFF
##7B56841.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b5684;
/* rgb */ color: rgb(123, 86, 132);
/* oklch */ color: oklch(51.0% 0.083 319.6);
Tailwind
colors: {
  custom: {
    50: '#a286a8',
    500: '#7b5684',
    950: '#000000',
  },
}
SCSS
$custom: #7b5684;
$custom-light: #a286a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5684",
  "rgb": {
    "r": 123,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 288.261,
    "s": 21.101,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.08326,
    "h": 319.6
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#7B5684
secondary
#92AA8C
accent
#BE6A7A
background
#FAF8FA
surface
#F3EFF4
border
#CDCACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7B5684

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

Preview Lab → · Contrast checker → · Palette generator →

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