#7B32B9#7B32B9

#7B32B9 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.201 H 304.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7B32B9
RGBrgb(123, 50, 185)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(33.5%, 73%, 0%, 27.5%)
CIE-LABlab(37.83, 55.43, -58.19)
CIE-LCHlch(37.83, 80.37, 313.61°)
OKLaboklab(48.89% 0.1139 -0.1656)
OKLCHoklch(48.89% 0.201 304.5)
XYZxyz(18.0639, 9.9950, 46.8671)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32B9 #70B932
analogous
#3732B9 #7B32B9 #B932B3
triadic
#7B32B9 #B97B32 #32B97B
tetradic
#7B32B9 #B93732 #70B932 #32B3B9
square
#7B32B9 #B93732 #70B932 #32B3B9
split-complementary
#7B32B9 #B3B932 #32B937
monochromatic
#3B1859 #5B2589 #7B32B9 #9957D2 #B687DF

Accessibility & contrast

On white

7.00
#7B32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7B32B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32B9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32B9#FFFFFF#000000##FFFFFF
##7B32B91.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#6F5373
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b32b9;
/* rgb */ color: rgb(123, 50, 185);
/* oklch */ color: oklch(48.9% 0.201 304.5);
Tailwind
colors: {
  custom: {
    50: '#a671cf',
    500: '#7b32b9',
    950: '#000000',
  },
}
SCSS
$custom: #7b32b9;
$custom-light: #a671cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32b9",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 272.444,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.201,
    "h": 304.5
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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