#7C32C4#7C32C4

#7C32C4 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.212 H 302.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7C32C4
RGBrgb(124, 50, 196)
HSLhsl(270, 59%, 48%)
HSVhsv(270, 74%, 77%)
CMYKcmyk(36.7%, 74.5%, 0%, 23.1%)
CIE-LABlab(38.81, 58.19, -63.04)
CIE-LCHlch(38.81, 85.79, 312.71°)
OKLaboklab(49.87% 0.1131 -0.1798)
OKLCHoklch(49.87% 0.212 302.2)
XYZxyz(19.4142, 10.5517, 53.2277)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32C4 #7AC432
analogous
#3332C4 #7C32C4 #C432C3
triadic
#7C32C4 #C47C32 #32C47C
tetradic
#7C32C4 #C43332 #7AC432 #32C3C4
square
#7C32C4 #C43332 #7AC432 #32C3C4
split-complementary
#7C32C4 #C3C432 #32C433
monochromatic
#3E1962 #5D2693 #7C32C4 #9A5DD6 #B98EE2

Accessibility & contrast

On white

6.75
#7C32C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7C32C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32C4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32C4#FFFFFF#000000##FFFFFF
##7C32C41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#6D5779
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c32c4;
/* rgb */ color: rgb(124, 50, 196);
/* oklch */ color: oklch(49.9% 0.212 302.2);
Tailwind
colors: {
  custom: {
    50: '#a871d7',
    500: '#7c32c4',
    950: '#000000',
  },
}
SCSS
$custom: #7c32c4;
$custom-light: #a871d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32c4",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 270.411,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.21242,
    "h": 302.2
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#7C32C4
secondary
#A8CD85
accent
#E34593
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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