#7B4E7A#7B4E7A

#7B4E7A is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.1% C 0.087 H 327.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7B4E7A
RGBrgb(123, 78, 122)
HSLhsl(301, 22%, 39%)
HSVhsv(301, 37%, 48%)
CMYKcmyk(0%, 36.6%, 0.8%, 51.8%)
CIE-LABlab(39.69, 26.54, -17.26)
CIE-LCHlch(39.69, 31.66, 326.95°)
OKLaboklab(49.07% 0.0738 -0.0469)
OKLCHoklch(49.07% 0.087 327.6)
XYZxyz(14.4053, 11.0655, 19.7856)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4E7A #4E7B4F
analogous
#664E7B #7B4E7A #7B4E64
triadic
#7B4E7A #7A7B4E #4E7A7B
tetradic
#7B4E7A #7B664E #4E7B4F #4E647B
square
#7B4E7A #7B664E #4E7B4F #4E647B
split-complementary
#7B4E7A #647B4E #4E7B66
monochromatic
#301F30 #563655 #7B4E7A #9F679E #B78DB6

Accessibility & contrast

On white

6.54
#7B4E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7B4E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4E7A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4E7A#FFFFFF#000000##FFFFFF
##7B4E7A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7C
Deuteranopia (green-blind)
#566078
Tritanopia (blue-blind)
#7E525E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b4e7a;
/* rgb */ color: rgb(123, 78, 122);
/* oklch */ color: oklch(49.1% 0.087 327.6);
Tailwind
colors: {
  custom: {
    50: '#a280a0',
    500: '#7b4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #7b4e7a;
$custom-light: #a280a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4e7a",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 301.333,
    "s": 22.388,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.0874,
    "h": 327.6
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#7B4E7A
secondary
#81A382
accent
#BF6B69
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7B4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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