#7C32B3#7C32B3

#7C32B3 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.6% C 0.195 H 306.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7C32B3
RGBrgb(124, 50, 179)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 70%)
CMYKcmyk(30.7%, 72.1%, 0%, 29.8%)
CIE-LABlab(37.52, 54.23, -55.15)
CIE-LCHlch(37.52, 77.35, 314.52°)
OKLaboklab(48.55% 0.1164 -0.1566)
OKLCHoklch(48.55% 0.195 306.6)
XYZxyz(17.5877, 9.8212, 43.6082)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32B3 #69B332
analogous
#3C32B3 #7C32B3 #B332A9
triadic
#7C32B3 #B37C32 #32B37C
tetradic
#7C32B3 #B33C32 #69B332 #32A9B3
square
#7C32B3 #B33C32 #69B332 #32A9B3
split-complementary
#7C32B3 #A9B332 #32B33C
monochromatic
#3A1753 #5B2583 #7C32B3 #9A53CF #B683DC

Accessibility & contrast

On white

7.08
#7C32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7C32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32B3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32B3#FFFFFF#000000##FFFFFF
##7C32B31.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#73506F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c32b3;
/* rgb */ color: rgb(124, 50, 179);
/* oklch */ color: oklch(48.6% 0.195 306.6);
Tailwind
colors: {
  custom: {
    50: '#a771cb',
    500: '#7c32b3',
    950: '#000000',
  },
}
SCSS
$custom: #7c32b3;
$custom-light: #a771cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32b3",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 274.419,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.19511,
    "h": 306.6
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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