#7B32B1#7B32B1

#7B32B1 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.193 H 306.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7B32B1
RGBrgb(123, 50, 177)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 69%)
CMYKcmyk(30.5%, 71.8%, 0%, 30.6%)
CIE-LABlab(37.24, 53.58, -54.43)
CIE-LCHlch(37.24, 76.37, 314.55°)
OKLaboklab(48.28% 0.1153 -0.1545)
OKLCHoklch(48.28% 0.193 306.7)
XYZxyz(17.2431, 9.6667, 42.5439)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32B1 #68B132
analogous
#3B32B1 #7B32B1 #B132A8
triadic
#7B32B1 #B17B32 #32B17B
tetradic
#7B32B1 #B13B32 #68B132 #32A8B1
square
#7B32B1 #B13B32 #68B132 #32A8B1
split-complementary
#7B32B1 #A8B132 #32B13B
monochromatic
#391752 #5A2581 #7B32B1 #9952CE #B582DC

Accessibility & contrast

On white

7.16
#7B32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7B32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B32B1
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32B1#FFFFFF#000000##FFFFFF
##7B32B11.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#724F6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b32b1;
/* rgb */ color: rgb(123, 50, 177);
/* oklch */ color: oklch(48.3% 0.193 306.7);
Tailwind
colors: {
  custom: {
    50: '#a670c9',
    500: '#7b32b1',
    950: '#000000',
  },
}
SCSS
$custom: #7b32b1;
$custom-light: #a670c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32b1",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 274.488,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48275,
    "c": 0.19281,
    "h": 306.7
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#7B32B1
secondary
#9AC57A
accent
#DF4989
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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