#7A32BC#7A32BC

#7A32BC is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.204 H 303.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7A32BC
RGBrgb(122, 50, 188)
HSLhsl(271, 58%, 47%)
HSVhsv(271, 73%, 74%)
CMYKcmyk(35.1%, 73.4%, 0%, 26.3%)
CIE-LABlab(37.93, 55.95, -59.80)
CIE-LCHlch(37.93, 81.90, 313.09°)
OKLaboklab(49% 0.112 -0.1704)
OKLCHoklch(49% 0.204 303.3)
XYZxyz(18.2416, 10.0496, 48.5460)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32BC #74BC32
analogous
#3532BC #7A32BC #BC32B9
triadic
#7A32BC #BC7A32 #32BC7A
tetradic
#7A32BC #BC3532 #74BC32 #32B9BC
square
#7A32BC #BC3532 #74BC32 #32B9BC
split-complementary
#7A32BC #B9BC32 #32BC35
monochromatic
#3B185B #5B258C #7A32BC #9858D3 #B689E0

Accessibility & contrast

On white

6.98
#7A32BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7A32BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A32BC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32BC#FFFFFF#000000##FFFFFF
##7A32BC1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#6D5474
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a32bc;
/* rgb */ color: rgb(122, 50, 188);
/* oklch */ color: oklch(49.0% 0.204 303.3);
Tailwind
colors: {
  custom: {
    50: '#a671d1',
    500: '#7a32bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a32bc;
$custom-light: #a671d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32bc",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 271.304,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48998,
    "c": 0.20386,
    "h": 303.3
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#7A32BC
secondary
#A3C980
accent
#E14791
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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