#7B4E82#7B4E82

#7B4E82 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.4% C 0.096 H 322.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7B4E82
RGBrgb(123, 78, 130)
HSLhsl(292, 25%, 41%)
HSVhsv(292, 40%, 51%)
CMYKcmyk(5.4%, 40%, 0%, 49%)
CIE-LABlab(40.03, 28.20, -21.64)
CIE-LCHlch(40.03, 35.55, 322.50°)
OKLaboklab(49.44% 0.0759 -0.0593)
OKLCHoklch(49.44% 0.096 322)
XYZxyz(14.9216, 11.2720, 22.5045)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4E82 #55824E
analogous
#614E82 #7B4E82 #824E6F
triadic
#7B4E82 #827B4E #4E827B
tetradic
#7B4E82 #82614E #55824E #4E6F82
square
#7B4E82 #82614E #55824E #4E6F82
split-complementary
#7B4E82 #6F824E #4E8261
monochromatic
#332035 #57375C #7B4E82 #9D68A5 #B68FBC

Accessibility & contrast

On white

6.45
#7B4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7B4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4E82
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4E82#FFFFFF#000000##FFFFFF
##7B4E821.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485B84
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#7C5462
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b4e82;
/* rgb */ color: rgb(123, 78, 130);
/* oklch */ color: oklch(49.4% 0.096 322.0);
Tailwind
colors: {
  custom: {
    50: '#a280a6',
    500: '#7b4e82',
    950: '#000000',
  },
}
SCSS
$custom: #7b4e82;
$custom-light: #a280a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4e82",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 291.923,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.09625,
    "h": 322
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#7B4E82
secondary
#88A884
accent
#C16673
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7B4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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