#7B3086#7B3086

#7B3086 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.152 H 322.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7B3086
RGBrgb(123, 48, 134)
HSLhsl(292, 47%, 36%)
HSVhsv(292, 64%, 53%)
CMYKcmyk(8.2%, 64.2%, 0%, 47.5%)
CIE-LABlab(34.08, 45.19, -33.44)
CIE-LCHlch(34.08, 56.22, 323.50°)
OKLaboklab(45.11% 0.1206 -0.093)
OKLCHoklch(45.11% 0.152 322.4)
XYZxyz(13.5280, 8.0468, 23.3903)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3086 #3B8630
analogous
#503086 #7B3086 #863066
triadic
#7B3086 #867B30 #30867B
tetradic
#7B3086 #865030 #3B8630 #306686
square
#7B3086 #865030 #3B8630 #306686
split-complementary
#7B3086 #668630 #308650
monochromatic
#28102C #522059 #7B3086 #A440B3 #BC68C9

Accessibility & contrast

On white

8.05
#7B3086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B3086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3086
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3086#FFFFFF#000000##FFFFFF
##7B30861.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#7D3D56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b3086;
/* rgb */ color: rgb(123, 48, 134);
/* oklch */ color: oklch(45.1% 0.152 322.4);
Tailwind
colors: {
  custom: {
    50: '#a46ea9',
    500: '#7b3086',
    950: '#000000',
  },
}
SCSS
$custom: #7b3086;
$custom-light: #a46ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3086",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 292.326,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45107,
    "c": 0.15231,
    "h": 322.4
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#7B3086
secondary
#6CB062
accent
#D75162
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B3086

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

Preview Lab → · Contrast checker → · Palette generator →

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