#7B329E#7B329E

#7B329E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.173 H 312.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7B329E
RGBrgb(123, 50, 158)
HSLhsl(281, 52%, 41%)
HSVhsv(281, 68%, 62%)
CMYKcmyk(22.2%, 68.4%, 0%, 38%)
CIE-LABlab(35.91, 49.30, -45.19)
CIE-LCHlch(35.91, 66.88, 317.49°)
OKLaboklab(46.91% 0.1176 -0.1274)
OKLCHoklch(46.91% 0.173 312.7)
XYZxyz(15.4794, 8.9612, 33.2554)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B329E #559E32
analogous
#45329E #7B329E #9E328B
triadic
#7B329E #9E7B32 #329E7B
tetradic
#7B329E #9E4532 #559E32 #328B9E
square
#7B329E #9E4532 #559E32 #328B9E
split-complementary
#7B329E #8B9E32 #329E45
monochromatic
#331541 #572370 #7B329E #9D48C5 #B677D4

Accessibility & contrast

On white

7.52
#7B329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7B329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B329E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B329E#FFFFFF#000000##FFFFFF
##7B329E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#29569C
Tritanopia (blue-blind)
#774864
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b329e;
/* rgb */ color: rgb(123, 50, 158);
/* oklch */ color: oklch(46.9% 0.173 312.7);
Tailwind
colors: {
  custom: {
    50: '#a570bb',
    500: '#7b329e',
    950: '#000000',
  },
}
SCSS
$custom: #7b329e;
$custom-light: #a570bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b329e",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 280.556,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.17338,
    "h": 312.7
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#7B329E
secondary
#88BC70
accent
#DB4C7B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7B329E

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

Preview Lab → · Contrast checker → · Palette generator →

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