#7A4C8A#7A4C8A

#7A4C8A is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.4% C 0.109 H 317.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7A4C8A
RGBrgb(122, 76, 138)
HSLhsl(285, 29%, 42%)
HSVhsv(285, 45%, 54%)
CMYKcmyk(11.6%, 44.9%, 0%, 45.9%)
CIE-LABlab(39.82, 30.78, -26.86)
CIE-LCHlch(39.82, 40.86, 318.89°)
OKLaboklab(49.38% 0.0795 -0.0742)
OKLCHoklch(49.38% 0.109 317)
XYZxyz(15.1973, 11.1419, 25.3899)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4C8A #5C8A4C
analogous
#5B4C8A #7A4C8A #8A4C7B
triadic
#7A4C8A #8A7A4C #4C8A7A
tetradic
#7A4C8A #8A5B4C #5C8A4C #4C7B8A
square
#7A4C8A #8A5B4C #5C8A4C #4C7B8A
split-complementary
#7A4C8A #7B8A4C #4C8A5B
monochromatic
#34213B #573663 #7A4C8A #9A68AC #B48FC1

Accessibility & contrast

On white

6.51
#7A4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4C8A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4C8A#FFFFFF#000000##FFFFFF
##7A4C8A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#7A5464
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a4c8a;
/* rgb */ color: rgb(122, 76, 138);
/* oklch */ color: oklch(49.4% 0.109 317.0);
Tailwind
colors: {
  custom: {
    50: '#a27fac',
    500: '#7a4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a4c8a;
$custom-light: #a27fac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4c8a",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 284.516,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.10874,
    "h": 317
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#7A4C8A
secondary
#8FAE84
accent
#C5637C
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7A4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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