#7C32B4#7C32B4

#7C32B4 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.196 H 306.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7C32B4
RGBrgb(124, 50, 180)
HSLhsl(274, 57%, 45%)
HSVhsv(274, 72%, 71%)
CMYKcmyk(31.1%, 72.2%, 0%, 29.4%)
CIE-LABlab(37.59, 54.46, -55.62)
CIE-LCHlch(37.59, 77.85, 314.40°)
OKLaboklab(48.63% 0.1162 -0.158)
OKLCHoklch(48.63% 0.196 306.3)
XYZxyz(17.6892, 9.8618, 44.1428)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32B4 #6AB432
analogous
#3B32B4 #7C32B4 #B432AB
triadic
#7C32B4 #B47C32 #32B47C
tetradic
#7C32B4 #B43B32 #6AB432 #32ABB4
square
#7C32B4 #B43B32 #6AB432 #32ABB4
split-complementary
#7C32B4 #ABB432 #32B43B
monochromatic
#3A1754 #5B2584 #7C32B4 #9A54CF #B684DD

Accessibility & contrast

On white

7.06
#7C32B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7C32B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32B4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32B4#FFFFFF#000000##FFFFFF
##7C32B41.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#725170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c32b4;
/* rgb */ color: rgb(124, 50, 180);
/* oklch */ color: oklch(48.6% 0.196 306.3);
Tailwind
colors: {
  custom: {
    50: '#a771cb',
    500: '#7c32b4',
    950: '#000000',
  },
}
SCSS
$custom: #7c32b4;
$custom-light: #a771cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32b4",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 274.154,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48626,
    "c": 0.19613,
    "h": 306.3
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#7C32B4
secondary
#9CC67C
accent
#E04889
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32B4

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

Preview Lab → · Contrast checker → · Palette generator →

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