#7A32B7#7A32B7

#7A32B7 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.6% C 0.199 H 304.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7A32B7
RGBrgb(122, 50, 183)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 73%, 72%)
CMYKcmyk(33.3%, 72.7%, 0%, 28.2%)
CIE-LABlab(37.55, 54.77, -57.48)
CIE-LCHlch(37.55, 79.40, 313.62°)
OKLaboklab(48.61% 0.1129 -0.1635)
OKLCHoklch(48.61% 0.199 304.6)
XYZxyz(17.7119, 9.8378, 45.7563)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32B7 #6FB732
analogous
#3732B7 #7A32B7 #B732B1
triadic
#7A32B7 #B77A32 #32B77A
tetradic
#7A32B7 #B73732 #6FB732 #32B1B7
square
#7A32B7 #B73732 #6FB732 #32B1B7
split-complementary
#7A32B7 #B1B732 #32B737
monochromatic
#3A1857 #5A2587 #7A32B7 #9856D1 #B586DE

Accessibility & contrast

On white

7.08
#7A32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7A32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32B7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32B7#FFFFFF#000000##FFFFFF
##7A32B71.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#6E5272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a32b7;
/* rgb */ color: rgb(122, 50, 183);
/* oklch */ color: oklch(48.6% 0.199 304.6);
Tailwind
colors: {
  custom: {
    50: '#a670cd',
    500: '#7a32b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a32b7;
$custom-light: #a670cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32b7",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 272.481,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.19872,
    "h": 304.6
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#7A32B7
secondary
#9FC77D
accent
#E0478E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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