#7B3286#7B3286

#7B3286 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.149 H 322.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7B3286
RGBrgb(123, 50, 134)
HSLhsl(292, 46%, 36%)
HSVhsv(292, 63%, 53%)
CMYKcmyk(8.2%, 62.7%, 0%, 47.5%)
CIE-LABlab(34.42, 44.24, -32.89)
CIE-LCHlch(34.42, 55.13, 323.38°)
OKLaboklab(45.36% 0.118 -0.0914)
OKLCHoklch(45.36% 0.149 322.2)
XYZxyz(13.6116, 8.2141, 23.4181)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3286 #3D8632
analogous
#513286 #7B3286 #863267
triadic
#7B3286 #867B32 #32867B
tetradic
#7B3286 #865132 #3D8632 #326786
square
#7B3286 #865132 #3D8632 #326786
split-complementary
#7B3286 #678632 #328651
monochromatic
#29112D #522159 #7B3286 #A443B3 #BC6BC8

Accessibility & contrast

On white

7.95
#7B3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7B3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3286
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3286#FFFFFF#000000##FFFFFF
##7B32861.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#7D3F57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b3286;
/* rgb */ color: rgb(123, 50, 134);
/* oklch */ color: oklch(45.4% 0.149 322.2);
Tailwind
colors: {
  custom: {
    50: '#a46fa9',
    500: '#7b3286',
    950: '#000000',
  },
}
SCSS
$custom: #7b3286;
$custom-light: #a46fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3286",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 292.143,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.14931,
    "h": 322.2
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#7B3286
secondary
#6EAF64
accent
#D55264
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B3286

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

Preview Lab → · Contrast checker → · Palette generator →

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