#7B32C4#7B32C4

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

Color values

HEX#7B32C4
RGBrgb(123, 50, 196)
HSLhsl(270, 59%, 48%)
HSVhsv(270, 74%, 77%)
CMYKcmyk(37.2%, 74.5%, 0%, 23.1%)
CIE-LABlab(38.69, 58.02, -63.26)
CIE-LCHlch(38.69, 85.83, 312.53°)
OKLaboklab(49.75% 0.1117 -0.1805)
OKLCHoklch(49.75% 0.212 301.7)
XYZxyz(19.2704, 10.4776, 53.2210)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32C4 #7BC432
analogous
#3232C4 #7B32C4 #C432C4
triadic
#7B32C4 #C47B32 #32C47B
tetradic
#7B32C4 #C43232 #7BC432 #32C4C4
square
#7B32C4 #C43232 #7BC432 #32C4C4
split-complementary
#7B32C4 #C4C432 #32C432
monochromatic
#3E1962 #5C2693 #7B32C4 #9A5DD6 #B88EE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B32C4#FFFFFF#000000##FFFFFF
##7B32C41.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)
#005AC8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#6B5779
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b32c4;
/* rgb */ color: rgb(123, 50, 196);
/* oklch */ color: oklch(49.8% 0.212 301.7);
Tailwind
colors: {
  custom: {
    50: '#a771d7',
    500: '#7b32c4',
    950: '#000000',
  },
}
SCSS
$custom: #7b32c4;
$custom-light: #a771d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32c4",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 270,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.21224,
    "h": 301.7
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#7B32C4
secondary
#A9CD85
accent
#E34594
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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