#7A32C5#7A32C5

#7A32C5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.213 H 301.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7A32C5
RGBrgb(122, 50, 197)
HSLhsl(269, 60%, 48%)
HSVhsv(269, 75%, 77%)
CMYKcmyk(38.1%, 74.6%, 0%, 22.7%)
CIE-LABlab(38.64, 58.08, -63.93)
CIE-LCHlch(38.64, 86.37, 312.26°)
OKLaboklab(49.72% 0.11 -0.1825)
OKLCHoklch(49.72% 0.213 301.1)
XYZxyz(19.2422, 10.4499, 53.8158)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32C5 #7DC532
analogous
#3233C5 #7A32C5 #C332C5
triadic
#7A32C5 #C57A32 #32C57A
tetradic
#7A32C5 #C53233 #7DC532 #32C5C3
square
#7A32C5 #C53233 #7DC532 #32C5C3
split-complementary
#7A32C5 #C5C332 #33C532
monochromatic
#3E1963 #5C2694 #7A32C5 #995ED6 #B88FE3

Accessibility & contrast

On white

6.80
#7A32C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7A32C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A32C5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32C5#FFFFFF#000000##FFFFFF
##7A32C51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#695879
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a32c5;
/* rgb */ color: rgb(122, 50, 197);
/* oklch */ color: oklch(49.7% 0.213 301.1);
Tailwind
colors: {
  custom: {
    50: '#a771d8',
    500: '#7a32c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a32c5;
$custom-light: #a771d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32c5",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 269.388,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.21309,
    "h": 301.1
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#7A32C5
secondary
#AACD86
accent
#E34596
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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