#7A3A8A#7A3A8A

#7A3A8A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.5% C 0.140 H 319.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7A3A8A
RGBrgb(122, 58, 138)
HSLhsl(288, 41%, 38%)
HSVhsv(288, 58%, 54%)
CMYKcmyk(11.6%, 58%, 0%, 45.9%)
CIE-LABlab(35.98, 40.78, -32.90)
CIE-LCHlch(35.98, 52.40, 321.11°)
OKLaboklab(46.54% 0.1062 -0.0916)
OKLCHoklch(46.54% 0.14 319.2)
XYZxyz(14.1259, 8.9992, 25.0328)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3A8A #4A8A3A
analogous
#523A8A #7A3A8A #8A3A72
triadic
#7A3A8A #8A7A3A #3A8A7A
tetradic
#7A3A8A #8A523A #4A8A3A #3A728A
square
#7A3A8A #8A523A #4A8A3A #3A728A
split-complementary
#7A3A8A #728A3A #3A8A52
monochromatic
#2E1634 #54285F #7A3A8A #A04DB4 #B778C6

Accessibility & contrast

On white

7.50
#7A3A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7A3A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3A8A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3A8A#FFFFFF#000000##FFFFFF
##7A3A8A1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#7A465C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a3a8a;
/* rgb */ color: rgb(122, 58, 138);
/* oklch */ color: oklch(46.5% 0.140 319.2);
Tailwind
colors: {
  custom: {
    50: '#a374ac',
    500: '#7a3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a3a8a;
$custom-light: #a374ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3a8a",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 288,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.1402,
    "h": 319.2
  },
  "luminance": 0.08999
}

Semantic roles & 50–950 ramp

primary
#7A3A8A
secondary
#7DB070
accent
#D1576F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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