#7B3AB5#7B3AB5

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

Color values

HEX#7B3AB5
RGBrgb(123, 58, 181)
HSLhsl(272, 51%, 47%)
HSVhsv(272, 68%, 71%)
CMYKcmyk(32%, 68%, 0%, 29%)
CIE-LABlab(38.85, 50.81, -54.18)
CIE-LCHlch(38.85, 74.27, 313.16°)
OKLaboklab(49.52% 0.1063 -0.1538)
OKLCHoklch(49.52% 0.187 304.6)
XYZxyz(18.0201, 10.5733, 44.7986)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AB5 #74B53A
analogous
#3E3AB5 #7B3AB5 #B53AB2
triadic
#7B3AB5 #B57B3A #3AB57B
tetradic
#7B3AB5 #B53E3A #74B53A #3AB2B5
square
#7B3AB5 #B53E3A #74B53A #3AB2B5
split-complementary
#7B3AB5 #B2B53A #3AB53E
monochromatic
#3C1C58 #5C2B87 #7B3AB5 #9960CC #B78EDB

Accessibility & contrast

On white

6.74
#7B3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7B3AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AB5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AB5#FFFFFF#000000##FFFFFF
##7B3AB51.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0C5CB2
Tritanopia (blue-blind)
#705673
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b3ab5;
/* rgb */ color: rgb(123, 58, 181);
/* oklch */ color: oklch(49.5% 0.187 304.6);
Tailwind
colors: {
  custom: {
    50: '#a675cc',
    500: '#7b3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ab5;
$custom-light: #a675cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ab5",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 271.707,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.18699,
    "h": 304.6
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#7B3AB5
secondary
#A4C685
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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