#7D32C3#7D32C3

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

Color values

HEX#7D32C3
RGBrgb(125, 50, 195)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(35.9%, 74.4%, 0%, 23.5%)
CIE-LABlab(38.87, 58.13, -62.37)
CIE-LCHlch(38.87, 85.26, 312.99°)
OKLaboklab(49.91% 0.1147 -0.1778)
OKLCHoklch(49.91% 0.212 302.8)
XYZxyz(19.4460, 10.5813, 52.6371)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32C3 #78C332
analogous
#3432C3 #7D32C3 #C332C1
triadic
#7D32C3 #C37D32 #32C37D
tetradic
#7D32C3 #C33432 #78C332 #32C1C3
square
#7D32C3 #C33432 #78C332 #32C1C3
split-complementary
#7D32C3 #C1C332 #32C334
monochromatic
#3F1962 #5E2692 #7D32C3 #9B5DD5 #B98EE2

Accessibility & contrast

On white

6.74
#7D32C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D32C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32C3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32C3#FFFFFF#000000##FFFFFF
##7D32C31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d32c3;
/* rgb */ color: rgb(125, 50, 195);
/* oklch */ color: oklch(49.9% 0.212 302.8);
Tailwind
colors: {
  custom: {
    50: '#a971d6',
    500: '#7d32c3',
    950: '#000000',
  },
}
SCSS
$custom: #7d32c3;
$custom-light: #a971d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32c3",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 271.034,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.21159,
    "h": 302.8
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#7D32C3
secondary
#A7CC85
accent
#E24591
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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