#7C32C3#7C32C3

#7C32C3 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.211 H 302.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7C32C3
RGBrgb(124, 50, 195)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(36.4%, 74.4%, 0%, 23.5%)
CIE-LABlab(38.74, 57.96, -62.59)
CIE-LCHlch(38.74, 85.30, 312.80°)
OKLaboklab(49.79% 0.1133 -0.1785)
OKLCHoklch(49.79% 0.211 302.4)
XYZxyz(19.3008, 10.5064, 52.6303)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32C3 #79C332
analogous
#3432C3 #7C32C3 #C332C1
triadic
#7C32C3 #C37C32 #32C37C
tetradic
#7C32C3 #C33432 #79C332 #32C1C3
square
#7C32C3 #C33432 #79C332 #32C1C3
split-complementary
#7C32C3 #C1C332 #32C334
monochromatic
#3E1962 #5D2692 #7C32C3 #9A5DD5 #B98EE2

Accessibility & contrast

On white

6.77
#7C32C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7C32C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32C3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32C3#FFFFFF#000000##FFFFFF
##7C32C31.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#6D5778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c32c3;
/* rgb */ color: rgb(124, 50, 195);
/* oklch */ color: oklch(49.8% 0.211 302.4);
Tailwind
colors: {
  custom: {
    50: '#a871d6',
    500: '#7c32c3',
    950: '#000000',
  },
}
SCSS
$custom: #7c32c3;
$custom-light: #a871d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32c3",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 270.621,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.2114,
    "h": 302.4
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#7C32C3
secondary
#A8CC85
accent
#E24592
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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