#7A3C8A#7A3C8A

#7A3C8A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 46.8% C 0.137 H 319.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7A3C8A
RGBrgb(122, 60, 138)
HSLhsl(288, 39%, 39%)
HSVhsv(288, 57%, 54%)
CMYKcmyk(11.6%, 56.5%, 0%, 45.9%)
CIE-LABlab(36.38, 39.73, -32.27)
CIE-LCHlch(36.38, 51.19, 320.91°)
OKLaboklab(46.82% 0.1034 -0.0898)
OKLCHoklch(46.82% 0.137 319)
XYZxyz(14.2287, 9.2048, 25.0670)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3C8A #4C8A3C
analogous
#533C8A #7A3C8A #8A3C73
triadic
#7A3C8A #8A7A3C #3C8A7A
tetradic
#7A3C8A #8A533C #4C8A3C #3C738A
square
#7A3C8A #8A533C #4C8A3C #3C738A
split-complementary
#7A3C8A #738A3C #3C8A53
monochromatic
#2F1735 #54295F #7A3C8A #9F50B3 #B67BC6

Accessibility & contrast

On white

7.39
#7A3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7A3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3C8A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3C8A#FFFFFF#000000##FFFFFF
##7A3C8A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#7A485D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a3c8a;
/* rgb */ color: rgb(122, 60, 138);
/* oklch */ color: oklch(46.8% 0.137 319.0);
Tailwind
colors: {
  custom: {
    50: '#a275ac',
    500: '#7a3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a3c8a;
$custom-light: #a275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3c8a",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 287.692,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.1369,
    "h": 319
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#7A3C8A
secondary
#7FAF73
accent
#CF5971
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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