#7B327D#7B327D

#7B327D is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.8% C 0.141 H 326.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7B327D
RGBrgb(123, 50, 125)
HSLhsl(298, 43%, 34%)
HSVhsv(298, 60%, 49%)
CMYKcmyk(1.6%, 60%, 0%, 51%)
CIE-LABlab(33.93, 42.48, -28.08)
CIE-LCHlch(33.93, 50.92, 326.53°)
OKLaboklab(44.83% 0.1174 -0.0775)
OKLCHoklch(44.83% 0.141 326.6)
XYZxyz(13.0104, 7.9736, 20.2518)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B327D #347D32
analogous
#56327D #7B327D #7D325A
triadic
#7B327D #7D7B32 #327D7B
tetradic
#7B327D #7D5632 #347D32 #325A7D
square
#7B327D #7D5632 #347D32 #325A7D
split-complementary
#7B327D #5A7D32 #327D56
monochromatic
#250F26 #502151 #7B327D #A643A9 #C067C2

Accessibility & contrast

On white

8.09
#7B327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B327D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B327D#FFFFFF#000000##FFFFFF
##7B327D1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#41537B
Tritanopia (blue-blind)
#7E3B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b327d;
/* rgb */ color: rgb(123, 50, 125);
/* oklch */ color: oklch(44.8% 0.141 326.6);
Tailwind
colors: {
  custom: {
    50: '#a36fa3',
    500: '#7b327d',
    950: '#000000',
  },
}
SCSS
$custom: #7b327d;
$custom-light: #a36fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b327d",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 298.4,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.14065,
    "h": 326.6
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#7B327D
secondary
#63AA61
accent
#D35559
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B327D

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

Preview Lab → · Contrast checker → · Palette generator →

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