#7B32B3#7B32B3

#7B32B3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.195 H 306.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7B32B3
RGBrgb(123, 50, 179)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 70%)
CMYKcmyk(31.3%, 72.1%, 0%, 29.8%)
CIE-LABlab(37.38, 54.04, -55.37)
CIE-LCHlch(37.38, 77.37, 314.30°)
OKLaboklab(48.43% 0.115 -0.1573)
OKLCHoklch(48.43% 0.195 306.2)
XYZxyz(17.4439, 9.7470, 43.6015)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32B3 #6AB332
analogous
#3A32B3 #7B32B3 #B332AB
triadic
#7B32B3 #B37B32 #32B37B
tetradic
#7B32B3 #B33A32 #6AB332 #32ABB3
square
#7B32B3 #B33A32 #6AB332 #32ABB3
split-complementary
#7B32B3 #ABB332 #32B33A
monochromatic
#391753 #5A2583 #7B32B3 #9953CF #B683DC

Accessibility & contrast

On white

7.12
#7B32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7B32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B32B3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32B3#FFFFFF#000000##FFFFFF
##7B32B31.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#71506F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b32b3;
/* rgb */ color: rgb(123, 50, 179);
/* oklch */ color: oklch(48.4% 0.195 306.2);
Tailwind
colors: {
  custom: {
    50: '#a670cb',
    500: '#7b32b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b32b3;
$custom-light: #a670cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32b3",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 273.953,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48426,
    "c": 0.19485,
    "h": 306.2
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#7B32B3
secondary
#9BC67B
accent
#E0488A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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