#7C32BD#7C32BD

#7C32BD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.205 H 303.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7C32BD
RGBrgb(124, 50, 189)
HSLhsl(272, 58%, 47%)
HSVhsv(272, 74%, 74%)
CMYKcmyk(34.4%, 73.5%, 0%, 25.9%)
CIE-LABlab(38.27, 56.55, -59.83)
CIE-LCHlch(38.27, 82.32, 313.39°)
OKLaboklab(49.32% 0.1146 -0.1704)
OKLCHoklch(49.32% 0.205 303.9)
XYZxyz(18.6360, 10.2405, 49.1291)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32BD #73BD32
analogous
#3632BD #7C32BD #BD32B9
triadic
#7C32BD #BD7C32 #32BD7C
tetradic
#7C32BD #BD3632 #73BD32 #32B9BD
square
#7C32BD #BD3632 #73BD32 #32B9BD
split-complementary
#7C32BD #B9BD32 #32BD36
monochromatic
#3C185C #5C258D #7C32BD #9A59D3 #B789E0

Accessibility & contrast

On white

6.89
#7C32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7C32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32BD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32BD#FFFFFF#000000##FFFFFF
##7C32BD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#6F5475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c32bd;
/* rgb */ color: rgb(124, 50, 189);
/* oklch */ color: oklch(49.3% 0.205 303.9);
Tailwind
colors: {
  custom: {
    50: '#a771d2',
    500: '#7c32bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c32bd;
$custom-light: #a771d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32bd",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 271.942,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.2053,
    "h": 303.9
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#7C32BD
secondary
#A3CA81
accent
#E1468F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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