#7C32A4#7C32A4

#7C32A4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.180 H 311.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7C32A4
RGBrgb(124, 50, 164)
HSLhsl(279, 53%, 42%)
HSVhsv(279, 70%, 64%)
CMYKcmyk(24.4%, 69.5%, 0%, 35.7%)
CIE-LABlab(36.46, 50.85, -47.92)
CIE-LCHlch(36.46, 69.87, 316.70°)
OKLaboklab(47.46% 0.1184 -0.1354)
OKLCHoklch(47.46% 0.18 311.2)
XYZxyz(16.1524, 9.2470, 36.0487)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32A4 #5AA432
analogous
#4332A4 #7C32A4 #A43293
triadic
#7C32A4 #A47C32 #32A47C
tetradic
#7C32A4 #A44332 #5AA432 #3293A4
square
#7C32A4 #A44332 #5AA432 #3293A4
split-complementary
#7C32A4 #93A432 #32A443
monochromatic
#351546 #592475 #7C32A4 #9C4BC8 #B67AD6

Accessibility & contrast

On white

7.37
#7C32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7C32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32A4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32A4#FFFFFF#000000##FFFFFF
##7C32A41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2357A1
Tritanopia (blue-blind)
#774A67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c32a4;
/* rgb */ color: rgb(124, 50, 164);
/* oklch */ color: oklch(47.5% 0.180 311.2);
Tailwind
colors: {
  custom: {
    50: '#a670c0',
    500: '#7c32a4',
    950: '#000000',
  },
}
SCSS
$custom: #7c32a4;
$custom-light: #a670c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32a4",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 278.947,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47456,
    "c": 0.17983,
    "h": 311.2
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#7C32A4
secondary
#8EBF73
accent
#DD4B7E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7C32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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