#7A32AB#7A32AB

#7A32AB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.186 H 308.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7A32AB
RGBrgb(122, 50, 171)
HSLhsl(276, 55%, 43%)
HSVhsv(276, 71%, 67%)
CMYKcmyk(28.7%, 70.8%, 0%, 32.9%)
CIE-LABlab(36.67, 52.00, -51.78)
CIE-LCHlch(36.67, 73.39, 315.12°)
OKLaboklab(47.7% 0.1149 -0.1468)
OKLCHoklch(47.7% 0.186 308)
XYZxyz(16.5158, 9.3593, 39.4567)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32AB #63AB32
analogous
#3D32AB #7A32AB #AB329F
triadic
#7A32AB #AB7A32 #32AB7A
tetradic
#7A32AB #AB3D32 #63AB32 #329FAB
square
#7A32AB #AB3D32 #63AB32 #329FAB
split-complementary
#7A32AB #9FAB32 #32AB3D
monochromatic
#36164C #58247C #7A32AB #994FCB #B47ED9

Accessibility & contrast

On white

7.31
#7A32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7A32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32AB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32AB#FFFFFF#000000##FFFFFF
##7A32AB1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#724D6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a32ab;
/* rgb */ color: rgb(122, 50, 171);
/* oklch */ color: oklch(47.7% 0.186 308.0);
Tailwind
colors: {
  custom: {
    50: '#a570c5',
    500: '#7a32ab',
    950: '#000000',
  },
}
SCSS
$custom: #7a32ab;
$custom-light: #a570c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32ab",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 275.702,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.18637,
    "h": 308
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#7A32AB
secondary
#95C277
accent
#DE4A86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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