#7A32BB#7A32BB

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

Color values

HEX#7A32BB
RGBrgb(122, 50, 187)
HSLhsl(272, 58%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(34.8%, 73.3%, 0%, 26.7%)
CIE-LABlab(37.85, 55.71, -59.34)
CIE-LCHlch(37.85, 81.40, 313.19°)
OKLaboklab(48.92% 0.1122 -0.169)
OKLCHoklch(48.92% 0.203 303.6)
XYZxyz(18.1342, 10.0067, 47.9802)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32BB #73BB32
analogous
#3632BB #7A32BB #BB32B8
triadic
#7A32BB #BB7A32 #32BB7A
tetradic
#7A32BB #BB3632 #73BB32 #32B8BB
square
#7A32BB #BB3632 #73BB32 #32B8BB
split-complementary
#7A32BB #B8BB32 #32BB36
monochromatic
#3B185A #5A258B #7A32BB #9858D2 #B688DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A32BB#FFFFFF#000000##FFFFFF
##7A32BB1.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)
#0058BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#6D5474
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a32bb;
/* rgb */ color: rgb(122, 50, 187);
/* oklch */ color: oklch(48.9% 0.203 303.6);
Tailwind
colors: {
  custom: {
    50: '#a671d0',
    500: '#7a32bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a32bb;
$custom-light: #a671d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32bb",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 271.533,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.20283,
    "h": 303.6
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#7A32BB
secondary
#A3C980
accent
#E14790
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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