#7B32BB#7B32BB

#7B32BB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.203 H 304.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7B32BB
RGBrgb(123, 50, 187)
HSLhsl(272, 58%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(34.2%, 73.3%, 0%, 26.7%)
CIE-LABlab(37.99, 55.90, -59.12)
CIE-LCHlch(37.99, 81.36, 313.39°)
OKLaboklab(49.04% 0.1136 -0.1683)
OKLCHoklch(49.04% 0.203 304)
XYZxyz(18.2766, 10.0801, 47.9869)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32BB #72BB32
analogous
#3732BB #7B32BB #BB32B7
triadic
#7B32BB #BB7B32 #32BB7B
tetradic
#7B32BB #BB3732 #72BB32 #32B7BB
square
#7B32BB #BB3732 #72BB32 #32B7BB
split-complementary
#7B32BB #B7BB32 #32BB37
monochromatic
#3B185A #5B258B #7B32BB #9958D2 #B788DF

Accessibility & contrast

On white

6.96
#7B32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B32BB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32BB#FFFFFF#000000##FFFFFF
##7B32BB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#6E5374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b32bb;
/* rgb */ color: rgb(123, 50, 187);
/* oklch */ color: oklch(49.0% 0.203 304.0);
Tailwind
colors: {
  custom: {
    50: '#a771d0',
    500: '#7b32bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b32bb;
$custom-light: #a771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32bb",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 271.971,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.20305,
    "h": 304
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#7B32BB
secondary
#A2C980
accent
#E1478F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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