#7B32AE#7B32AE

#7B32AE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 307.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7B32AE
RGBrgb(123, 50, 174)
HSLhsl(275, 55%, 44%)
HSVhsv(275, 71%, 68%)
CMYKcmyk(29.3%, 71.3%, 0%, 31.8%)
CIE-LABlab(37.02, 52.89, -52.99)
CIE-LCHlch(37.02, 74.87, 314.94°)
OKLaboklab(48.05% 0.1158 -0.1503)
OKLCHoklch(48.05% 0.19 307.6)
XYZxyz(16.9474, 9.5484, 40.9864)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32AE #65AE32
analogous
#3D32AE #7B32AE #AE32A3
triadic
#7B32AE #AE7B32 #32AE7B
tetradic
#7B32AE #AE3D32 #65AE32 #32A3AE
square
#7B32AE #AE3D32 #65AE32 #32A3AE
split-complementary
#7B32AE #A3AE32 #32AE3D
monochromatic
#38174F #59247E #7B32AE #9A50CD #B580DA

Accessibility & contrast

On white

7.22
#7B32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7B32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B32AE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32AE#FFFFFF#000000##FFFFFF
##7B32AE1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0C58AB
Tritanopia (blue-blind)
#734E6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b32ae;
/* rgb */ color: rgb(123, 50, 174);
/* oklch */ color: oklch(48.1% 0.190 307.6);
Tailwind
colors: {
  custom: {
    50: '#a670c7',
    500: '#7b32ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b32ae;
$custom-light: #a670c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32ae",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 275.323,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.18974,
    "h": 307.6
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#7B32AE
secondary
#97C478
accent
#DF4987
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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