#7A32BA#7A32BA

#7A32BA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.202 H 303.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7A32BA
RGBrgb(122, 50, 186)
HSLhsl(272, 58%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(34.4%, 73.1%, 0%, 27.1%)
CIE-LABlab(37.78, 55.48, -58.88)
CIE-LCHlch(37.78, 80.90, 313.30°)
OKLaboklab(48.84% 0.1124 -0.1676)
OKLCHoklch(48.84% 0.202 303.8)
XYZxyz(18.0275, 9.9640, 47.4184)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32BA #72BA32
analogous
#3632BA #7A32BA #BA32B6
triadic
#7A32BA #BA7A32 #32BA7A
tetradic
#7A32BA #BA3632 #72BA32 #32B6BA
square
#7A32BA #BA3632 #72BA32 #32B6BA
split-complementary
#7A32BA #B6BA32 #32BA36
monochromatic
#3B185A #5A258A #7A32BA #9857D2 #B688DF

Accessibility & contrast

On white

7.02
#7A32BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7A32BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32BA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32BA#FFFFFF#000000##FFFFFF
##7A32BA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6D5373
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a32ba;
/* rgb */ color: rgb(122, 50, 186);
/* oklch */ color: oklch(48.8% 0.202 303.8);
Tailwind
colors: {
  custom: {
    50: '#a671d0',
    500: '#7a32ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a32ba;
$custom-light: #a671d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32ba",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 271.765,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.20181,
    "h": 303.8
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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