#7A32B1#7A32B1

#7A32B1 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.193 H 306.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7A32B1
RGBrgb(122, 50, 177)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 69%)
CMYKcmyk(31.1%, 71.8%, 0%, 30.6%)
CIE-LABlab(37.10, 53.38, -54.65)
CIE-LCHlch(37.10, 76.39, 314.33°)
OKLaboklab(48.15% 0.114 -0.1552)
OKLCHoklch(48.15% 0.193 306.3)
XYZxyz(17.1007, 9.5933, 42.5372)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32B1 #69B132
analogous
#3B32B1 #7A32B1 #B132A9
triadic
#7A32B1 #B17A32 #32B17A
tetradic
#7A32B1 #B13B32 #69B132 #32A9B1
square
#7A32B1 #B13B32 #69B132 #32A9B1
split-complementary
#7A32B1 #A9B132 #32B13B
monochromatic
#381752 #592581 #7A32B1 #9852CE #B582DC

Accessibility & contrast

On white

7.20
#7A32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7A32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32B1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32B1#FFFFFF#000000##FFFFFF
##7A32B11.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#70506E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a32b1;
/* rgb */ color: rgb(122, 50, 177);
/* oklch */ color: oklch(48.2% 0.193 306.3);
Tailwind
colors: {
  custom: {
    50: '#a570c9',
    500: '#7a32b1',
    950: '#000000',
  },
}
SCSS
$custom: #7a32b1;
$custom-light: #a570c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32b1",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 274.016,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.19255,
    "h": 306.3
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#7A32B1
secondary
#9AC57A
accent
#DF498A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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