#7B4A82#7B4A82

#7B4A82 is a mid, moderate purple. Relative luminance 0.107; OKLCH L 48.7% C 0.104 H 322.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7B4A82
RGBrgb(123, 74, 130)
HSLhsl(293, 27%, 40%)
HSVhsv(293, 43%, 51%)
CMYKcmyk(5.4%, 43.1%, 0%, 49%)
CIE-LABlab(39.11, 30.53, -23.08)
CIE-LCHlch(39.11, 38.27, 322.92°)
OKLaboklab(48.75% 0.0823 -0.0633)
OKLCHoklch(48.75% 0.104 322.4)
XYZxyz(14.6460, 10.7208, 22.4126)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4A82 #51824A
analogous
#5F4A82 #7B4A82 #824A6D
triadic
#7B4A82 #827B4A #4A827B
tetradic
#7B4A82 #825F4A #51824A #4A6D82
square
#7B4A82 #825F4A #51824A #4A6D82
split-complementary
#7B4A82 #6D824A #4A825F
monochromatic
#311E34 #56345B #7B4A82 #9E63A6 #B68ABC

Accessibility & contrast

On white

6.68
#7B4A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7B4A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4A82
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4A82#FFFFFF#000000##FFFFFF
##7B4A821.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#7D5060
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b4a82;
/* rgb */ color: rgb(123, 74, 130);
/* oklch */ color: oklch(48.7% 0.104 322.4);
Tailwind
colors: {
  custom: {
    50: '#a27ea6',
    500: '#7b4a82',
    950: '#000000',
  },
}
SCSS
$custom: #7b4a82;
$custom-light: #a27ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4a82",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 292.5,
    "s": 27.451,
    "l": 40
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.10381,
    "h": 322.4
  },
  "luminance": 0.1072
}

Semantic roles & 50–950 ramp

primary
#7B4A82
secondary
#84A87F
accent
#C46470
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7B4A82

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

Preview Lab → · Contrast checker → · Palette generator →

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