#7B32BA#7B32BA

#7B32BA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.202 H 304.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7B32BA
RGBrgb(123, 50, 186)
HSLhsl(272, 58%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(33.9%, 73.1%, 0%, 27.1%)
CIE-LABlab(37.91, 55.66, -58.66)
CIE-LCHlch(37.91, 80.87, 313.50°)
OKLaboklab(48.96% 0.1138 -0.167)
OKLCHoklch(48.96% 0.202 304.3)
XYZxyz(18.1699, 10.0374, 47.4250)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32BA #71BA32
analogous
#3732BA #7B32BA #BA32B5
triadic
#7B32BA #BA7B32 #32BA7B
tetradic
#7B32BA #BA3732 #71BA32 #32B5BA
square
#7B32BA #BA3732 #71BA32 #32B5BA
split-complementary
#7B32BA #B5BA32 #32BA37
monochromatic
#3B185A #5B258A #7B32BA #9957D2 #B688DF

Accessibility & contrast

On white

6.98
#7B32BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7B32BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32BA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32BA#FFFFFF#000000##FFFFFF
##7B32BA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6F5373
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b32ba;
/* rgb */ color: rgb(123, 50, 186);
/* oklch */ color: oklch(49.0% 0.202 304.3);
Tailwind
colors: {
  custom: {
    50: '#a771d0',
    500: '#7b32ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b32ba;
$custom-light: #a771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32ba",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 272.206,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.20203,
    "h": 304.3
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#7B32BA
secondary
#A1C97F
accent
#E1478E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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