#7A32B8#7A32B8

#7A32B8 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.200 H 304.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7A32B8
RGBrgb(122, 50, 184)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 73%, 72%)
CMYKcmyk(33.7%, 72.8%, 0%, 27.8%)
CIE-LABlab(37.63, 55.01, -57.95)
CIE-LCHlch(37.63, 79.90, 313.51°)
OKLaboklab(48.69% 0.1127 -0.1649)
OKLCHoklch(48.69% 0.2 304.4)
XYZxyz(17.8164, 9.8795, 46.3064)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32B8 #70B832
analogous
#3732B8 #7A32B8 #B832B3
triadic
#7A32B8 #B87A32 #32B87A
tetradic
#7A32B8 #B83732 #70B832 #32B3B8
square
#7A32B8 #B83732 #70B832 #32B3B8
split-complementary
#7A32B8 #B3B832 #32B837
monochromatic
#3A1858 #5A2588 #7A32B8 #9856D1 #B586DE

Accessibility & contrast

On white

7.06
#7A32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7A32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A32B8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32B8#FFFFFF#000000##FFFFFF
##7A32B81.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#6E5272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a32b8;
/* rgb */ color: rgb(122, 50, 184);
/* oklch */ color: oklch(48.7% 0.200 304.4);
Tailwind
colors: {
  custom: {
    50: '#a671ce',
    500: '#7a32b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a32b8;
$custom-light: #a671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32b8",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 272.239,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48686,
    "c": 0.19976,
    "h": 304.4
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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