#7A32B9#7A32B9

#7A32B9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.201 H 304.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7A32B9
RGBrgb(122, 50, 185)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(34.1%, 73%, 0%, 27.5%)
CIE-LABlab(37.70, 55.24, -58.41)
CIE-LCHlch(37.70, 80.40, 313.40°)
OKLaboklab(48.76% 0.1126 -0.1663)
OKLCHoklch(48.76% 0.201 304.1)
XYZxyz(17.9216, 9.9216, 46.8604)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32B9 #71B932
analogous
#3632B9 #7A32B9 #B932B4
triadic
#7A32B9 #B97A32 #32B97A
tetradic
#7A32B9 #B93632 #71B932 #32B4B9
square
#7A32B9 #B93632 #71B932 #32B4B9
split-complementary
#7A32B9 #B4B932 #32B936
monochromatic
#3A1859 #5A2589 #7A32B9 #9857D2 #B687DF

Accessibility & contrast

On white

7.04
#7A32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7A32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32B9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32B9#FFFFFF#000000##FFFFFF
##7A32B91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#6E5373
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a32b9;
/* rgb */ color: rgb(122, 50, 185);
/* oklch */ color: oklch(48.8% 0.201 304.1);
Tailwind
colors: {
  custom: {
    50: '#a671cf',
    500: '#7a32b9',
    950: '#000000',
  },
}
SCSS
$custom: #7a32b9;
$custom-light: #a671cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32b9",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 272,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.20078,
    "h": 304.1
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#7A32B9
secondary
#A1C87F
accent
#E1478F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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