#7D32C4#7D32C4

#7D32C4 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.213 H 302.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D32C4
RGBrgb(125, 50, 196)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 77%)
CMYKcmyk(36.2%, 74.5%, 0%, 23.1%)
CIE-LABlab(38.94, 58.37, -62.83)
CIE-LCHlch(38.94, 85.75, 312.89°)
OKLaboklab(49.99% 0.1145 -0.1791)
OKLCHoklch(49.99% 0.213 302.6)
XYZxyz(19.5595, 10.6267, 53.2345)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32C4 #79C432
analogous
#3432C4 #7D32C4 #C432C2
triadic
#7D32C4 #C47D32 #32C47D
tetradic
#7D32C4 #C43432 #79C432 #32C2C4
square
#7D32C4 #C43432 #79C432 #32C2C4
split-complementary
#7D32C4 #C2C432 #32C434
monochromatic
#3F1962 #5E2693 #7D32C4 #9B5DD6 #B98EE2

Accessibility & contrast

On white

6.72
#7D32C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D32C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32C4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32C4#FFFFFF#000000##FFFFFF
##7D32C41.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d32c4;
/* rgb */ color: rgb(125, 50, 196);
/* oklch */ color: oklch(50.0% 0.213 302.6);
Tailwind
colors: {
  custom: {
    50: '#a971d7',
    500: '#7d32c4',
    950: '#000000',
  },
}
SCSS
$custom: #7d32c4;
$custom-light: #a971d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32c4",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 270.822,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.2126,
    "h": 302.6
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#7D32C4
secondary
#A8CD85
accent
#E34592
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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