#7B328D#7B328D

#7B328D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.156 H 319.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7B328D
RGBrgb(123, 50, 141)
HSLhsl(288, 48%, 37%)
HSVhsv(288, 65%, 55%)
CMYKcmyk(12.8%, 64.5%, 0%, 44.7%)
CIE-LABlab(34.83, 45.67, -36.55)
CIE-LCHlch(34.83, 58.50, 321.33°)
OKLaboklab(45.79% 0.1182 -0.1021)
OKLCHoklch(45.79% 0.156 319.2)
XYZxyz(14.1161, 8.4159, 26.0750)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B328D #448D32
analogous
#4E328D #7B328D #8D3271
triadic
#7B328D #8D7B32 #328D7B
tetradic
#7B328D #8D4E32 #448D32 #32718D
square
#7B328D #8D4E32 #448D32 #32718D
split-complementary
#7B328D #718D32 #328D4E
monochromatic
#2C1233 #542260 #7B328D #A242BA #B96ECC

Accessibility & contrast

On white

7.83
#7B328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7B328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B328D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B328D#FFFFFF#000000##FFFFFF
##7B328D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#38548B
Tritanopia (blue-blind)
#7B415B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b328d;
/* rgb */ color: rgb(123, 50, 141);
/* oklch */ color: oklch(45.8% 0.156 319.2);
Tailwind
colors: {
  custom: {
    50: '#a46faf',
    500: '#7b328d',
    950: '#000000',
  },
}
SCSS
$custom: #7b328d;
$custom-light: #a46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b328d",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 288.132,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.15622,
    "h": 319.2
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#7B328D
secondary
#77B368
accent
#D7516B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B328D

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

Preview Lab → · Contrast checker → · Palette generator →

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