#7B32C3#7B32C3

#7B32C3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.211 H 302.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7B32C3
RGBrgb(123, 50, 195)
HSLhsl(270, 59%, 48%)
HSVhsv(270, 74%, 76%)
CMYKcmyk(36.9%, 74.4%, 0%, 23.5%)
CIE-LABlab(38.61, 57.78, -62.80)
CIE-LCHlch(38.61, 85.34, 312.61°)
OKLaboklab(49.67% 0.1119 -0.1791)
OKLCHoklch(49.67% 0.211 302)
XYZxyz(19.1569, 10.4322, 52.6235)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32C3 #7AC332
analogous
#3232C3 #7B32C3 #C332C2
triadic
#7B32C3 #C37B32 #32C37B
tetradic
#7B32C3 #C33232 #7AC332 #32C2C3
square
#7B32C3 #C33232 #7AC332 #32C2C3
split-complementary
#7B32C3 #C2C332 #32C332
monochromatic
#3E1962 #5C2692 #7B32C3 #9A5DD5 #B88EE2

Accessibility & contrast

On white

6.80
#7B32C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B32C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32C3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32C3#FFFFFF#000000##FFFFFF
##7B32C31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b32c3;
/* rgb */ color: rgb(123, 50, 195);
/* oklch */ color: oklch(49.7% 0.211 302.0);
Tailwind
colors: {
  custom: {
    50: '#a771d6',
    500: '#7b32c3',
    950: '#000000',
  },
}
SCSS
$custom: #7b32c3;
$custom-light: #a771d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32c3",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 270.207,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.21122,
    "h": 302
  },
  "luminance": 0.10432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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