#7B3192#7B3192

#7B3192 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.163 H 317.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7B3192
RGBrgb(123, 49, 146)
HSLhsl(286, 50%, 38%)
HSVhsv(286, 66%, 57%)
CMYKcmyk(15.8%, 66.4%, 0%, 42.7%)
CIE-LABlab(34.97, 47.18, -39.40)
CIE-LCHlch(34.97, 61.47, 320.14°)
OKLaboklab(45.98% 0.1194 -0.1104)
OKLCHoklch(45.98% 0.163 317.2)
XYZxyz(14.4542, 8.4835, 28.0646)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3192 #489231
analogous
#4A3192 #7B3192 #923178
triadic
#7B3192 #927B31 #31927B
tetradic
#7B3192 #924A31 #489231 #317892
square
#7B3192 #924A31 #489231 #317892
split-complementary
#7B3192 #789231 #31924A
monochromatic
#2E1236 #542264 #7B3192 #A141BF #B86FCF

Accessibility & contrast

On white

7.79
#7B3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7B3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3192
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3192#FFFFFF#000000##FFFFFF
##7B31921.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E95
Deuteranopia (green-blind)
#335590
Tritanopia (blue-blind)
#7A435D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b3192;
/* rgb */ color: rgb(123, 49, 146);
/* oklch */ color: oklch(46.0% 0.163 317.2);
Tailwind
colors: {
  custom: {
    50: '#a46fb2',
    500: '#7b3192',
    950: '#000000',
  },
}
SCSS
$custom: #7b3192;
$custom-light: #a46fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3192",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 285.773,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.16265,
    "h": 317.2
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#7B3192
secondary
#7BB669
accent
#D94F6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7B3192

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

Preview Lab → · Contrast checker → · Palette generator →

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