#7A32B3#7A32B3

#7A32B3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.195 H 305.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7A32B3
RGBrgb(122, 50, 179)
HSLhsl(273, 56%, 45%)
HSVhsv(273, 72%, 70%)
CMYKcmyk(31.8%, 72.1%, 0%, 29.8%)
CIE-LABlab(37.25, 53.84, -55.60)
CIE-LCHlch(37.25, 77.40, 314.08°)
OKLaboklab(48.3% 0.1136 -0.158)
OKLCHoklch(48.3% 0.195 305.7)
XYZxyz(17.3015, 9.6736, 43.5948)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32B3 #6BB332
analogous
#3932B3 #7A32B3 #B332AC
triadic
#7A32B3 #B37A32 #32B37A
tetradic
#7A32B3 #B33932 #6BB332 #32ACB3
square
#7A32B3 #B33932 #6BB332 #32ACB3
split-complementary
#7A32B3 #ACB332 #32B339
monochromatic
#391753 #592583 #7A32B3 #9853CF #B583DC

Accessibility & contrast

On white

7.16
#7A32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7A32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32B3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32B3#FFFFFF#000000##FFFFFF
##7A32B31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#70506F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a32b3;
/* rgb */ color: rgb(122, 50, 179);
/* oklch */ color: oklch(48.3% 0.195 305.7);
Tailwind
colors: {
  custom: {
    50: '#a570cb',
    500: '#7a32b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a32b3;
$custom-light: #a570cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32b3",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 273.488,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48302,
    "c": 0.19462,
    "h": 305.7
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#7A32B3
secondary
#9CC67B
accent
#E0488B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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