#7A32C4#7A32C4

#7A32C4 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.212 H 301.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7A32C4
RGBrgb(122, 50, 196)
HSLhsl(270, 59%, 48%)
HSVhsv(270, 74%, 77%)
CMYKcmyk(37.8%, 74.5%, 0%, 23.1%)
CIE-LABlab(38.56, 57.84, -63.47)
CIE-LCHlch(38.56, 85.88, 312.34°)
OKLaboklab(49.64% 0.1103 -0.1811)
OKLCHoklch(49.64% 0.212 301.3)
XYZxyz(19.1280, 10.4042, 53.2143)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32C4 #7CC432
analogous
#3233C4 #7A32C4 #C332C4
triadic
#7A32C4 #C47A32 #32C47A
tetradic
#7A32C4 #C43233 #7CC432 #32C4C3
square
#7A32C4 #C43233 #7CC432 #32C4C3
split-complementary
#7A32C4 #C4C332 #33C432
monochromatic
#3D1962 #5C2693 #7A32C4 #995DD6 #B88EE2

Accessibility & contrast

On white

6.82
#7A32C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A32C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A32C4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32C4#FFFFFF#000000##FFFFFF
##7A32C41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#6A5779
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a32c4;
/* rgb */ color: rgb(122, 50, 196);
/* oklch */ color: oklch(49.6% 0.212 301.3);
Tailwind
colors: {
  custom: {
    50: '#a771d7',
    500: '#7a32c4',
    950: '#000000',
  },
}
SCSS
$custom: #7a32c4;
$custom-light: #a771d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32c4",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 269.589,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49636,
    "c": 0.21206,
    "h": 301.3
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#7A32C4
secondary
#A9CD85
accent
#E34595
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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