#7C32AA#7C32AA

#7C32AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.186 H 309.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7C32AA
RGBrgb(124, 50, 170)
HSLhsl(277, 55%, 43%)
HSVhsv(277, 71%, 67%)
CMYKcmyk(27.1%, 70.6%, 0%, 33.3%)
CIE-LABlab(36.87, 52.19, -50.84)
CIE-LCHlch(36.87, 72.86, 315.75°)
OKLaboklab(47.89% 0.1177 -0.1439)
OKLCHoklch(47.89% 0.186 309.3)
XYZxyz(16.7070, 9.4689, 38.9700)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32AA #60AA32
analogous
#4032AA #7C32AA #AA329C
triadic
#7C32AA #AA7C32 #32AA7C
tetradic
#7C32AA #AA4032 #60AA32 #329CAA
square
#7C32AA #AA4032 #60AA32 #329CAA
split-complementary
#7C32AA #9CAA32 #32AA40
monochromatic
#37164B #5A247B #7C32AA #9B4ECB #B67DD9

Accessibility & contrast

On white

7.26
#7C32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7C32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32AA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32AA#FFFFFF#000000##FFFFFF
##7C32AA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#1958A7
Tritanopia (blue-blind)
#754C6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c32aa;
/* rgb */ color: rgb(124, 50, 170);
/* oklch */ color: oklch(47.9% 0.186 309.3);
Tailwind
colors: {
  custom: {
    50: '#a670c4',
    500: '#7c32aa',
    950: '#000000',
  },
}
SCSS
$custom: #7c32aa;
$custom-light: #a670c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32aa",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 277,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.18594,
    "h": 309.3
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#7C32AA
secondary
#93C276
accent
#DE4A83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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