#7D32C1#7D32C1

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

Color values

HEX#7D32C1
RGBrgb(125, 50, 193)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(35.2%, 74.1%, 0%, 24.3%)
CIE-LABlab(38.71, 57.66, -61.45)
CIE-LCHlch(38.71, 84.27, 313.18°)
OKLaboklab(49.75% 0.1151 -0.1751)
OKLCHoklch(49.75% 0.21 303.3)
XYZxyz(19.2214, 10.4914, 51.4541)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32C1 #76C132
analogous
#3632C1 #7D32C1 #C132BD
triadic
#7D32C1 #C17D32 #32C17D
tetradic
#7D32C1 #C13632 #76C132 #32BDC1
square
#7D32C1 #C13632 #76C132 #32BDC1
split-complementary
#7D32C1 #BDC132 #32C136
monochromatic
#3E1960 #5E2590 #7D32C1 #9B5CD5 #B98CE1

Accessibility & contrast

On white

6.78
#7D32C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D32C1
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32C1#FFFFFF#000000##FFFFFF
##7D32C11.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d32c1;
/* rgb */ color: rgb(125, 50, 193);
/* oklch */ color: oklch(49.8% 0.210 303.3);
Tailwind
colors: {
  custom: {
    50: '#a871d5',
    500: '#7d32c1',
    950: '#000000',
  },
}
SCSS
$custom: #7d32c1;
$custom-light: #a871d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32c1",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 271.469,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.20957,
    "h": 303.3
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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