#7A477A#7A477A

#7A477A is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.7% C 0.100 H 327.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7A477A
RGBrgb(122, 71, 122)
HSLhsl(300, 26%, 38%)
HSVhsv(300, 42%, 48%)
CMYKcmyk(0%, 41.8%, 0%, 52.2%)
CIE-LABlab(37.93, 30.28, -19.98)
CIE-LCHlch(37.93, 36.28, 326.58°)
OKLaboklab(47.72% 0.084 -0.0545)
OKLCHoklch(47.72% 0.1 327)
XYZxyz(13.7919, 10.0498, 19.6219)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A477A #477A47
analogous
#60477A #7A477A #7A4760
triadic
#7A477A #7A7A47 #477A7A
tetradic
#7A477A #7A6047 #477A47 #47607A
square
#7A477A #7A6047 #477A47 #47607A
split-complementary
#7A477A #607A47 #477A60
monochromatic
#2D1A2D #533053 #7A477A #A15EA1 #B784B7

Accessibility & contrast

On white

6.98
#7A477A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7A477A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A477A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A477A#FFFFFF#000000##FFFFFF
##7A477A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557C
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#7D4C5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a477a;
/* rgb */ color: rgb(122, 71, 122);
/* oklch */ color: oklch(47.7% 0.100 327.0);
Tailwind
colors: {
  custom: {
    50: '#a17ba0',
    500: '#7a477a',
    950: '#000000',
  },
}
SCSS
$custom: #7a477a;
$custom-light: #a17ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a477a",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 26.425,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.10009,
    "h": 327
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#7A477A
secondary
#7AA37A
accent
#C36565
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7A477A

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

Preview Lab → · Contrast checker → · Palette generator →

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