#7B32B5#7B32B5

#7B32B5 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.6% C 0.197 H 305.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7B32B5
RGBrgb(123, 50, 181)
HSLhsl(273, 57%, 45%)
HSVhsv(273, 72%, 71%)
CMYKcmyk(32%, 72.4%, 0%, 29%)
CIE-LABlab(37.53, 54.50, -56.32)
CIE-LCHlch(37.53, 78.37, 314.06°)
OKLaboklab(48.58% 0.1147 -0.1601)
OKLCHoklch(48.58% 0.197 305.6)
XYZxyz(17.6476, 9.8285, 44.6745)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32B5 #6CB532
analogous
#3932B5 #7B32B5 #B532AD
triadic
#7B32B5 #B57B32 #32B57B
tetradic
#7B32B5 #B53932 #6CB532 #32ADB5
square
#7B32B5 #B53932 #6CB532 #32ADB5
split-complementary
#7B32B5 #ADB532 #32B539
monochromatic
#3A1855 #5A2585 #7B32B5 #9954D0 #B684DD

Accessibility & contrast

On white

7.08
#7B32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B32B5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32B5#FFFFFF#000000##FFFFFF
##7B32B51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#715170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b32b5;
/* rgb */ color: rgb(123, 50, 181);
/* oklch */ color: oklch(48.6% 0.197 305.6);
Tailwind
colors: {
  custom: {
    50: '#a671cc',
    500: '#7b32b5',
    950: '#000000',
  },
}
SCSS
$custom: #7b32b5;
$custom-light: #a671cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32b5",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 273.435,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.19691,
    "h": 305.6
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#7B32B5
secondary
#9DC77C
accent
#E0488B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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