#7B328E#7B328E

#7B328E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 318.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7B328E
RGBrgb(123, 50, 142)
HSLhsl(288, 48%, 38%)
HSVhsv(288, 65%, 56%)
CMYKcmyk(13.4%, 64.8%, 0%, 44.3%)
CIE-LABlab(34.89, 45.88, -37.07)
CIE-LCHlch(34.89, 58.98, 321.06°)
OKLaboklab(45.85% 0.1182 -0.1036)
OKLCHoklch(45.85% 0.157 318.8)
XYZxyz(14.1908, 8.4458, 26.4686)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B328E #458E32
analogous
#4D328E #7B328E #8E3273
triadic
#7B328E #8E7B32 #328E7B
tetradic
#7B328E #8E4D32 #458E32 #32738E
square
#7B328E #8E4D32 #458E32 #32738E
split-complementary
#7B328E #738E32 #328E4D
monochromatic
#2D1233 #542261 #7B328E #A242BB #B96ECC

Accessibility & contrast

On white

7.81
#7B328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7B328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B328E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B328E#FFFFFF#000000##FFFFFF
##7B328E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#37558C
Tritanopia (blue-blind)
#7B425B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b328e;
/* rgb */ color: rgb(123, 50, 142);
/* oklch */ color: oklch(45.9% 0.157 318.8);
Tailwind
colors: {
  custom: {
    50: '#a46faf',
    500: '#7b328e',
    950: '#000000',
  },
}
SCSS
$custom: #7b328e;
$custom-light: #a46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b328e",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 287.609,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.15722,
    "h": 318.8
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#7B328E
secondary
#78B468
accent
#D8506C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B328E

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

Preview Lab → · Contrast checker → · Palette generator →

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