#7C32AE#7C32AE

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

Color values

HEX#7C32AE
RGBrgb(124, 50, 174)
HSLhsl(276, 55%, 44%)
HSVhsv(276, 71%, 68%)
CMYKcmyk(28.7%, 71.3%, 0%, 31.8%)
CIE-LABlab(37.16, 53.09, -52.77)
CIE-LCHlch(37.16, 74.86, 315.18°)
OKLaboklab(48.18% 0.1172 -0.1496)
OKLCHoklch(48.18% 0.19 308.1)
XYZxyz(17.0912, 9.6225, 40.9932)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32AE #64AE32
analogous
#3E32AE #7C32AE #AE32A2
triadic
#7C32AE #AE7C32 #32AE7C
tetradic
#7C32AE #AE3E32 #64AE32 #32A2AE
square
#7C32AE #AE3E32 #64AE32 #32A2AE
split-complementary
#7C32AE #A2AE32 #32AE3E
monochromatic
#38174F #5A247E #7C32AE #9B50CD #B680DA

Accessibility & contrast

On white

7.18
#7C32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C32AE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32AE#FFFFFF#000000##FFFFFF
##7C32AE1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1058AB
Tritanopia (blue-blind)
#744E6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c32ae;
/* rgb */ color: rgb(124, 50, 174);
/* oklch */ color: oklch(48.2% 0.190 308.1);
Tailwind
colors: {
  custom: {
    50: '#a670c7',
    500: '#7c32ae',
    950: '#000000',
  },
}
SCSS
$custom: #7c32ae;
$custom-light: #a670c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32ae",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 275.806,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.19002,
    "h": 308.1
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#7C32AE
secondary
#97C478
accent
#DF4985
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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