#7C32AB#7C32AB

#7C32AB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.187 H 309.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7C32AB
RGBrgb(124, 50, 171)
HSLhsl(277, 55%, 43%)
HSVhsv(277, 71%, 67%)
CMYKcmyk(27.5%, 70.8%, 0%, 32.9%)
CIE-LABlab(36.94, 52.41, -51.32)
CIE-LCHlch(36.94, 73.36, 315.60°)
OKLaboklab(47.96% 0.1176 -0.1454)
OKLCHoklch(47.96% 0.187 309)
XYZxyz(16.8020, 9.5069, 39.4701)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32AB #61AB32
analogous
#3F32AB #7C32AB #AB329D
triadic
#7C32AB #AB7C32 #32AB7C
tetradic
#7C32AB #AB3F32 #61AB32 #329DAB
square
#7C32AB #AB3F32 #61AB32 #329DAB
split-complementary
#7C32AB #9DAB32 #32AB3F
monochromatic
#37164C #5A247C #7C32AB #9B4FCB #B67ED9

Accessibility & contrast

On white

7.24
#7C32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7C32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32AB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32AB#FFFFFF#000000##FFFFFF
##7C32AB1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#1758A8
Tritanopia (blue-blind)
#754D6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c32ab;
/* rgb */ color: rgb(124, 50, 171);
/* oklch */ color: oklch(48.0% 0.187 309.0);
Tailwind
colors: {
  custom: {
    50: '#a670c5',
    500: '#7c32ab',
    950: '#000000',
  },
}
SCSS
$custom: #7c32ab;
$custom-light: #a670c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32ab",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 276.694,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.18696,
    "h": 309
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#7C32AB
secondary
#94C277
accent
#DE4A83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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