#7C32BA#7C32BA

#7C32BA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.202 H 304.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7C32BA
RGBrgb(124, 50, 186)
HSLhsl(273, 58%, 46%)
HSVhsv(273, 73%, 73%)
CMYKcmyk(33.3%, 73.1%, 0%, 27.1%)
CIE-LABlab(38.04, 55.85, -58.44)
CIE-LCHlch(38.04, 80.83, 313.70°)
OKLaboklab(49.09% 0.1151 -0.1663)
OKLCHoklch(49.09% 0.202 304.7)
XYZxyz(18.3137, 10.1116, 47.4318)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32BA #70BA32
analogous
#3832BA #7C32BA #BA32B4
triadic
#7C32BA #BA7C32 #32BA7C
tetradic
#7C32BA #BA3832 #70BA32 #32B4BA
square
#7C32BA #BA3832 #70BA32 #32B4BA
split-complementary
#7C32BA #B4BA32 #32BA38
monochromatic
#3C185A #5C258A #7C32BA #9A57D2 #B788DF

Accessibility & contrast

On white

6.95
#7C32BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7C32BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32BA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32BA#FFFFFF#000000##FFFFFF
##7C32BA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#705373
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c32ba;
/* rgb */ color: rgb(124, 50, 186);
/* oklch */ color: oklch(49.1% 0.202 304.7);
Tailwind
colors: {
  custom: {
    50: '#a771d0',
    500: '#7c32ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c32ba;
$custom-light: #a771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32ba",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 272.647,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.20224,
    "h": 304.7
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#7C32BA
secondary
#A1C97F
accent
#E1478D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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