#7C32B5#7C32B5

#7C32B5 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.197 H 306.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7C32B5
RGBrgb(124, 50, 181)
HSLhsl(274, 57%, 45%)
HSVhsv(274, 72%, 71%)
CMYKcmyk(31.5%, 72.4%, 0%, 29%)
CIE-LABlab(37.67, 54.69, -56.09)
CIE-LCHlch(37.67, 78.35, 314.28°)
OKLaboklab(48.7% 0.116 -0.1594)
OKLCHoklch(48.7% 0.197 306.1)
XYZxyz(17.7914, 9.9026, 44.6812)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32B5 #6BB532
analogous
#3A32B5 #7C32B5 #B532AC
triadic
#7C32B5 #B57C32 #32B57C
tetradic
#7C32B5 #B53A32 #6BB532 #32ACB5
square
#7C32B5 #B53A32 #6BB532 #32ACB5
split-complementary
#7C32B5 #ACB532 #32B53A
monochromatic
#3A1855 #5B2585 #7C32B5 #9A54D0 #B684DD

Accessibility & contrast

On white

7.05
#7C32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7C32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32B5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32B5#FFFFFF#000000##FFFFFF
##7C32B51.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#725170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c32b5;
/* rgb */ color: rgb(124, 50, 181);
/* oklch */ color: oklch(48.7% 0.197 306.1);
Tailwind
colors: {
  custom: {
    50: '#a771cc',
    500: '#7c32b5',
    950: '#000000',
  },
}
SCSS
$custom: #7c32b5;
$custom-light: #a771cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32b5",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 273.893,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.19715,
    "h": 306.1
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#7C32B5
secondary
#9DC77C
accent
#E0488A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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