#7C32B6#7C32B6

#7C32B6 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.8% C 0.198 H 305.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7C32B6
RGBrgb(124, 50, 182)
HSLhsl(274, 57%, 45%)
HSVhsv(274, 73%, 71%)
CMYKcmyk(31.9%, 72.5%, 0%, 28.6%)
CIE-LABlab(37.74, 54.93, -56.56)
CIE-LCHlch(37.74, 78.84, 314.16°)
OKLaboklab(48.78% 0.1159 -0.1608)
OKLCHoklch(48.78% 0.198 305.8)
XYZxyz(17.8944, 9.9438, 45.2235)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32B6 #6CB632
analogous
#3A32B6 #7C32B6 #B632AE
triadic
#7C32B6 #B67C32 #32B67C
tetradic
#7C32B6 #B63A32 #6CB632 #32AEB6
square
#7C32B6 #B63A32 #6CB632 #32AEB6
split-complementary
#7C32B6 #AEB632 #32B63A
monochromatic
#3B1856 #5B2586 #7C32B6 #9A55D0 #B785DD

Accessibility & contrast

On white

7.03
#7C32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7C32B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32B6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32B6#FFFFFF#000000##FFFFFF
##7C32B61.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#725171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c32b6;
/* rgb */ color: rgb(124, 50, 182);
/* oklch */ color: oklch(48.8% 0.198 305.8);
Tailwind
colors: {
  custom: {
    50: '#a771cd',
    500: '#7c32b6',
    950: '#000000',
  },
}
SCSS
$custom: #7c32b6;
$custom-light: #a771cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32b6",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 273.636,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48778,
    "c": 0.19817,
    "h": 305.8
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#7C32B6
secondary
#9DC77D
accent
#E0488B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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