#7A329D#7A329D

#7A329D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.172 H 312.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7A329D
RGBrgb(122, 50, 157)
HSLhsl(280, 52%, 41%)
HSVhsv(280, 68%, 62%)
CMYKcmyk(22.3%, 68.2%, 0%, 38.4%)
CIE-LABlab(35.70, 48.85, -44.93)
CIE-LCHlch(35.70, 66.37, 317.40°)
OKLaboklab(46.71% 0.1164 -0.1267)
OKLCHoklch(46.71% 0.172 312.6)
XYZxyz(15.2514, 8.8535, 32.7972)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A329D #559D32
analogous
#44329D #7A329D #9D328A
triadic
#7A329D #9D7A32 #329D7A
tetradic
#7A329D #9D4432 #559D32 #328A9D
square
#7A329D #9D4432 #559D32 #328A9D
split-complementary
#7A329D #8A9D32 #329D44
monochromatic
#321440 #56236F #7A329D #9C48C5 #B576D3

Accessibility & contrast

On white

7.58
#7A329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7A329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A329D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A329D#FFFFFF#000000##FFFFFF
##7A329D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#29559B
Tritanopia (blue-blind)
#764863
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a329d;
/* rgb */ color: rgb(122, 50, 157);
/* oklch */ color: oklch(46.7% 0.172 312.6);
Tailwind
colors: {
  custom: {
    50: '#a46fba',
    500: '#7a329d',
    950: '#000000',
  },
}
SCSS
$custom: #7a329d;
$custom-light: #a46fba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a329d",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 280.374,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.172,
    "h": 312.6
  },
  "luminance": 0.08853
}

Semantic roles & 50–950 ramp

primary
#7A329D
secondary
#88BC6F
accent
#DB4D7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A329D

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

Preview Lab → · Contrast checker → · Palette generator →

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