#7B477A#7B477A

#7B477A is a mid, moderate purple. Relative luminance 0.101; OKLCH L 47.8% C 0.101 H 327.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7B477A
RGBrgb(123, 71, 122)
HSLhsl(301, 27%, 38%)
HSVhsv(301, 42%, 48%)
CMYKcmyk(0%, 42.3%, 0.8%, 51.8%)
CIE-LABlab(38.06, 30.62, -19.77)
CIE-LCHlch(38.06, 36.44, 327.15°)
OKLaboklab(47.85% 0.0852 -0.0539)
OKLCHoklch(47.85% 0.101 327.7)
XYZxyz(13.9342, 10.1232, 19.6286)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B477A #477B48
analogous
#62477B #7B477A #7B4760
triadic
#7B477A #7A7B47 #477A7B
tetradic
#7B477A #7B6247 #477B48 #47607B
square
#7B477A #7B6247 #477B48 #47607B
split-complementary
#7B477A #607B47 #477B62
monochromatic
#2D1A2D #543154 #7B477A #A25DA0 #B884B7

Accessibility & contrast

On white

6.94
#7B477A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7B477A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B477A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B477A#FFFFFF#000000##FFFFFF
##7B477A1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557C
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#7E4C5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b477a;
/* rgb */ color: rgb(123, 71, 122);
/* oklch */ color: oklch(47.8% 0.101 327.7);
Tailwind
colors: {
  custom: {
    50: '#a27ca0',
    500: '#7b477a',
    950: '#000000',
  },
}
SCSS
$custom: #7b477a;
$custom-light: #a27ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b477a",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 301.154,
    "s": 26.804,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.10082,
    "h": 327.7
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#7B477A
secondary
#7AA47B
accent
#C36665
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7B477A

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

Preview Lab → · Contrast checker → · Palette generator →

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