#7B3288#7B3288

#7B3288 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.151 H 321.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7B3288
RGBrgb(123, 50, 136)
HSLhsl(291, 46%, 36%)
HSVhsv(291, 63%, 53%)
CMYKcmyk(9.6%, 63.2%, 0%, 46.7%)
CIE-LABlab(34.54, 44.65, -33.94)
CIE-LCHlch(34.54, 56.09, 322.76°)
OKLaboklab(45.48% 0.1181 -0.0945)
OKLCHoklch(45.48% 0.151 321.3)
XYZxyz(13.7524, 8.2704, 24.1597)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3288 #3F8832
analogous
#503288 #7B3288 #88326A
triadic
#7B3288 #887B32 #32887B
tetradic
#7B3288 #885032 #3F8832 #326A88
square
#7B3288 #885032 #3F8832 #326A88
split-complementary
#7B3288 #6A8832 #328850
monochromatic
#2A112F #53225B #7B3288 #A342B5 #BB6CC9

Accessibility & contrast

On white

7.91
#7B3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3288
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3288#FFFFFF#000000##FFFFFF
##7B32881.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8B
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#7C4058
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b3288;
/* rgb */ color: rgb(123, 50, 136);
/* oklch */ color: oklch(45.5% 0.151 321.3);
Tailwind
colors: {
  custom: {
    50: '#a46fab',
    500: '#7b3288',
    950: '#000000',
  },
}
SCSS
$custom: #7b3288;
$custom-light: #a46fab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3288",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 290.93,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.15127,
    "h": 321.3
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#7B3288
secondary
#71B065
accent
#D65266
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B3288

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

Preview Lab → · Contrast checker → · Palette generator →

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