#7A4C8D#7A4C8D

#7A4C8D is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.5% C 0.112 H 315.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7A4C8D
RGBrgb(122, 76, 141)
HSLhsl(282, 30%, 43%)
HSVhsv(282, 46%, 55%)
CMYKcmyk(13.5%, 46.1%, 0%, 44.7%)
CIE-LABlab(39.97, 31.46, -28.46)
CIE-LCHlch(39.97, 42.42, 317.87°)
OKLaboklab(49.53% 0.08 -0.0788)
OKLCHoklch(49.53% 0.112 315.4)
XYZxyz(15.4175, 11.2300, 26.5496)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4C8D #5F8D4C
analogous
#5A4C8D #7A4C8D #8D4C7F
triadic
#7A4C8D #8D7A4C #4C8D7A
tetradic
#7A4C8D #8D5A4C #5F8D4C #4C7F8D
square
#7A4C8D #8D5A4C #5F8D4C #4C7F8D
split-complementary
#7A4C8D #7F8D4C #4C8D5A
monochromatic
#35213D #583765 #7A4C8D #9A68AE #B490C3

Accessibility & contrast

On white

6.47
#7A4C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A4C8D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4C8D#FFFFFF#000000##FFFFFF
##7A4C8D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#4C608B
Tritanopia (blue-blind)
#795566
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a4c8d;
/* rgb */ color: rgb(122, 76, 141);
/* oklch */ color: oklch(49.5% 0.112 315.4);
Tailwind
colors: {
  custom: {
    50: '#a27fae',
    500: '#7a4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #7a4c8d;
$custom-light: #a27fae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4c8d",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 282.462,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.11232,
    "h": 315.4
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#7A4C8D
secondary
#92AF85
accent
#C6627F
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7A4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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