#7B3296#7B3296

#7B3296 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.165 H 315.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7B3296
RGBrgb(123, 50, 150)
HSLhsl(284, 50%, 39%)
HSVhsv(284, 67%, 59%)
CMYKcmyk(18%, 66.7%, 0%, 41.2%)
CIE-LABlab(35.39, 47.57, -41.17)
CIE-LCHlch(35.39, 62.91, 319.12°)
OKLaboklab(46.37% 0.1181 -0.1156)
OKLCHoklch(46.37% 0.165 315.6)
XYZxyz(14.8131, 8.6947, 29.7462)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3296 #4D9632
analogous
#493296 #7B3296 #96327F
triadic
#7B3296 #967B32 #32967B
tetradic
#7B3296 #964932 #4D9632 #327F96
square
#7B3296 #964932 #4D9632 #327F96
split-complementary
#7B3296 #7F9632 #329649
monochromatic
#30133A #552368 #7B3296 #9F44C1 #B772D0

Accessibility & contrast

On white

7.67
#7B3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7B3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3296
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3296#FFFFFF#000000##FFFFFF
##7B32961.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#79455F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b3296;
/* rgb */ color: rgb(123, 50, 150);
/* oklch */ color: oklch(46.4% 0.165 315.6);
Tailwind
colors: {
  custom: {
    50: '#a46fb5',
    500: '#7b3296',
    950: '#000000',
  },
}
SCSS
$custom: #7b3296;
$custom-light: #a46fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3296",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 283.8,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46366,
    "c": 0.16525,
    "h": 315.6
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#7B3296
secondary
#80B86C
accent
#DA4E74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7B3296

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

Preview Lab → · Contrast checker → · Palette generator →

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