#7C32C1#7C32C1

#7C32C1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.209 H 302.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7C32C1
RGBrgb(124, 50, 193)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(35.8%, 74.1%, 0%, 24.3%)
CIE-LABlab(38.58, 57.49, -61.67)
CIE-LCHlch(38.58, 84.31, 312.99°)
OKLaboklab(49.63% 0.1137 -0.1758)
OKLCHoklch(49.63% 0.209 302.9)
XYZxyz(19.0761, 10.4165, 51.4473)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32C1 #77C132
analogous
#3432C1 #7C32C1 #C132BE
triadic
#7C32C1 #C17C32 #32C17C
tetradic
#7C32C1 #C13432 #77C132 #32BEC1
square
#7C32C1 #C13432 #77C132 #32BEC1
split-complementary
#7C32C1 #BEC132 #32C134
monochromatic
#3E1960 #5D2590 #7C32C1 #9A5CD5 #B88CE1

Accessibility & contrast

On white

6.81
#7C32C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7C32C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32C1
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32C1#FFFFFF#000000##FFFFFF
##7C32C11.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#6E5677
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c32c1;
/* rgb */ color: rgb(124, 50, 193);
/* oklch */ color: oklch(49.6% 0.209 302.9);
Tailwind
colors: {
  custom: {
    50: '#a871d5',
    500: '#7c32c1',
    950: '#000000',
  },
}
SCSS
$custom: #7c32c1;
$custom-light: #a871d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32c1",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 271.049,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.20937,
    "h": 302.9
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#7C32C1
secondary
#A6CB83
accent
#E24691
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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