#7B3293#7B3293

#7B3293 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 316.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7B3293
RGBrgb(123, 50, 147)
HSLhsl(285, 49%, 39%)
HSVhsv(285, 66%, 58%)
CMYKcmyk(16.3%, 66%, 0%, 42.4%)
CIE-LABlab(35.20, 46.93, -39.64)
CIE-LCHlch(35.20, 61.43, 319.81°)
OKLaboklab(46.17% 0.1182 -0.1111)
OKLCHoklch(46.17% 0.162 316.8)
XYZxyz(14.5747, 8.5993, 28.4902)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3293 #4A9332
analogous
#4A3293 #7B3293 #93327A
triadic
#7B3293 #937B32 #32937B
tetradic
#7B3293 #934A32 #4A9332 #327A93
square
#7B3293 #934A32 #4A9332 #327A93
split-complementary
#7B3293 #7A9332 #32934A
monochromatic
#2F1338 #552265 #7B3293 #A043BF #B771CF

Accessibility & contrast

On white

7.72
#7B3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7B3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3293
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3293#FFFFFF#000000##FFFFFF
##7B32931.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E96
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#7A445E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b3293;
/* rgb */ color: rgb(123, 50, 147);
/* oklch */ color: oklch(46.2% 0.162 316.8);
Tailwind
colors: {
  custom: {
    50: '#a46fb3',
    500: '#7b3293',
    950: '#000000',
  },
}
SCSS
$custom: #7b3293;
$custom-light: #a46fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3293",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 285.155,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.16222,
    "h": 316.8
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#7B3293
secondary
#7DB76A
accent
#D94F71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7B3293

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

Preview Lab → · Contrast checker → · Palette generator →

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