#7C32AF#7C32AF

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

Color values

HEX#7C32AF
RGBrgb(124, 50, 175)
HSLhsl(276, 56%, 44%)
HSVhsv(276, 71%, 69%)
CMYKcmyk(29.1%, 71.4%, 0%, 31.4%)
CIE-LABlab(37.23, 53.32, -53.25)
CIE-LCHlch(37.23, 75.35, 315.04°)
OKLaboklab(48.25% 0.117 -0.151)
OKLCHoklch(48.25% 0.191 307.8)
XYZxyz(17.1890, 9.6617, 41.5085)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32AF #65AF32
analogous
#3E32AF #7C32AF #AF32A4
triadic
#7C32AF #AF7C32 #32AF7C
tetradic
#7C32AF #AF3E32 #65AF32 #32A4AF
square
#7C32AF #AF3E32 #65AF32 #32A4AF
split-complementary
#7C32AF #A4AF32 #32AF3E
monochromatic
#391750 #5A247F #7C32AF #9B51CD #B681DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C32AF#FFFFFF#000000##FFFFFF
##7C32AF1.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)
#0055B3
Deuteranopia (green-blind)
#0C58AC
Tritanopia (blue-blind)
#744E6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c32af;
/* rgb */ color: rgb(124, 50, 175);
/* oklch */ color: oklch(48.3% 0.191 307.8);
Tailwind
colors: {
  custom: {
    50: '#a670c8',
    500: '#7c32af',
    950: '#000000',
  },
}
SCSS
$custom: #7c32af;
$custom-light: #a670c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32af",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 275.52,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.19103,
    "h": 307.8
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#7C32AF
secondary
#97C479
accent
#DF4986
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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