#7C32C2#7C32C2

#7C32C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.210 H 302.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7C32C2
RGBrgb(124, 50, 194)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(36.1%, 74.2%, 0%, 23.9%)
CIE-LABlab(38.66, 57.72, -62.13)
CIE-LCHlch(38.66, 84.80, 312.89°)
OKLaboklab(49.71% 0.1135 -0.1771)
OKLCHoklch(49.71% 0.21 302.7)
XYZxyz(19.1881, 10.4613, 52.0368)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32C2 #78C232
analogous
#3432C2 #7C32C2 #C232C0
triadic
#7C32C2 #C27C32 #32C27C
tetradic
#7C32C2 #C23432 #78C232 #32C0C2
square
#7C32C2 #C23432 #78C232 #32C0C2
split-complementary
#7C32C2 #C0C232 #32C234
monochromatic
#3E1961 #5D2591 #7C32C2 #9A5CD5 #B88DE2

Accessibility & contrast

On white

6.79
#7C32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7C32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32C2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32C2#FFFFFF#000000##FFFFFF
##7C32C21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#6D5678
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c32c2;
/* rgb */ color: rgb(124, 50, 194);
/* oklch */ color: oklch(49.7% 0.210 302.7);
Tailwind
colors: {
  custom: {
    50: '#a871d5',
    500: '#7c32c2',
    950: '#000000',
  },
}
SCSS
$custom: #7c32c2;
$custom-light: #a871d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32c2",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 270.833,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.21038,
    "h": 302.7
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#7C32C2
secondary
#A7CC84
accent
#E24692
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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