#7A32AA#7A32AA

#7A32AA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.185 H 308.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7A32AA
RGBrgb(122, 50, 170)
HSLhsl(276, 55%, 43%)
HSVhsv(276, 71%, 67%)
CMYKcmyk(28.2%, 70.6%, 0%, 33.3%)
CIE-LABlab(36.60, 51.77, -51.30)
CIE-LCHlch(36.60, 72.88, 315.26°)
OKLaboklab(47.63% 0.115 -0.1454)
OKLCHoklch(47.63% 0.185 308.3)
XYZxyz(16.4208, 9.3213, 38.9566)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32AA #62AA32
analogous
#3E32AA #7A32AA #AA329E
triadic
#7A32AA #AA7A32 #32AA7A
tetradic
#7A32AA #AA3E32 #62AA32 #329EAA
square
#7A32AA #AA3E32 #62AA32 #329EAA
split-complementary
#7A32AA #9EAA32 #32AA3E
monochromatic
#36164B #58247B #7A32AA #994ECB #B47DD9

Accessibility & contrast

On white

7.33
#7A32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32AA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32AA#FFFFFF#000000##FFFFFF
##7A32AA1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#1557A7
Tritanopia (blue-blind)
#734D6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a32aa;
/* rgb */ color: rgb(122, 50, 170);
/* oklch */ color: oklch(47.6% 0.185 308.3);
Tailwind
colors: {
  custom: {
    50: '#a570c4',
    500: '#7a32aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a32aa;
$custom-light: #a570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32aa",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 276,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4763,
    "c": 0.18535,
    "h": 308.3
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#7A32AA
secondary
#94C276
accent
#DE4A85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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