#7B32BC#7B32BC

#7B32BC is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.204 H 303.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7B32BC
RGBrgb(123, 50, 188)
HSLhsl(272, 58%, 47%)
HSVhsv(272, 73%, 74%)
CMYKcmyk(34.6%, 73.4%, 0%, 26.3%)
CIE-LABlab(38.06, 56.13, -59.59)
CIE-LCHlch(38.06, 81.86, 313.29°)
OKLaboklab(49.12% 0.1134 -0.1697)
OKLCHoklch(49.12% 0.204 303.7)
XYZxyz(18.3840, 10.1230, 48.5526)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32BC #73BC32
analogous
#3632BC #7B32BC #BC32B8
triadic
#7B32BC #BC7B32 #32BC7B
tetradic
#7B32BC #BC3632 #73BC32 #32B8BC
square
#7B32BC #BC3632 #73BC32 #32B8BC
split-complementary
#7B32BC #B8BC32 #32BC36
monochromatic
#3C185B #5B258C #7B32BC #9958D3 #B789E0

Accessibility & contrast

On white

6.94
#7B32BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7B32BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32BC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32BC#FFFFFF#000000##FFFFFF
##7B32BC1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#6E5474
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b32bc;
/* rgb */ color: rgb(123, 50, 188);
/* oklch */ color: oklch(49.1% 0.204 303.7);
Tailwind
colors: {
  custom: {
    50: '#a771d1',
    500: '#7b32bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b32bc;
$custom-light: #a771d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32bc",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 271.739,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.20407,
    "h": 303.7
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#7B32BC
secondary
#A3C980
accent
#E1478F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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