#7B3BB3#7B3BB3

#7B3BB3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.183 H 305.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7B3BB3
RGBrgb(123, 59, 179)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 67%, 70%)
CMYKcmyk(31.3%, 67%, 0%, 29.8%)
CIE-LABlab(38.89, 49.84, -52.94)
CIE-LCHlch(38.89, 72.71, 313.27°)
OKLaboklab(49.5% 0.1054 -0.1502)
OKLCHoklch(49.5% 0.184 305.1)
XYZxyz(17.8672, 10.5937, 43.7426)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BB3 #73B33B
analogous
#3F3BB3 #7B3BB3 #B33BAF
triadic
#7B3BB3 #B37B3B #3BB37B
tetradic
#7B3BB3 #B33F3B #73B33B #3BAFB3
square
#7B3BB3 #B33F3B #73B33B #3BAFB3
split-complementary
#7B3BB3 #AFB33B #3BB33F
monochromatic
#3C1D57 #5B2C85 #7B3BB3 #9960CB #B78EDA

Accessibility & contrast

On white

6.73
#7B3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BB3
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BB3#FFFFFF#000000##FFFFFF
##7B3BB31.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#155CB0
Tritanopia (blue-blind)
#715572
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3bb3;
/* rgb */ color: rgb(123, 59, 179);
/* oklch */ color: oklch(49.5% 0.183 305.1);
Tailwind
colors: {
  custom: {
    50: '#a675ca',
    500: '#7b3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bb3;
$custom-light: #a675ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bb3",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 272,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.1835,
    "h": 305.1
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#7B3BB3
secondary
#A3C585
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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