#7B4AB0#7B4AB0

#7B4AB0 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.158 H 303.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7B4AB0
RGBrgb(123, 74, 176)
HSLhsl(269, 41%, 49%)
HSVhsv(269, 58%, 69%)
CMYKcmyk(30.1%, 58%, 0%, 31%)
CIE-LABlab(41.60, 41.24, -46.80)
CIE-LCHlch(41.60, 62.38, 311.38°)
OKLaboklab(51.4% 0.0874 -0.1322)
OKLCHoklch(51.4% 0.158 303.5)
XYZxyz(18.4519, 12.2431, 42.4569)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AB0 #7FB04A
analogous
#4A4CB0 #7B4AB0 #AE4AB0
triadic
#7B4AB0 #B07B4A #4AB07B
tetradic
#7B4AB0 #B04A4C #7FB04A #4AB0AE
square
#7B4AB0 #B04A4C #7FB04A #4AB0AE
split-complementary
#7B4AB0 #B0AE4A #4CB04A
monochromatic
#3F265A #5D3885 #7B4AB0 #9A73C4 #B99ED6

Accessibility & contrast

On white

6.09
#7B4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7B4AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AB0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AB0#FFFFFF#000000##FFFFFF
##7B4AB01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B3
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#715E76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b4ab0;
/* rgb */ color: rgb(123, 74, 176);
/* oklch */ color: oklch(51.4% 0.158 303.5);
Tailwind
colors: {
  custom: {
    50: '#a47ec8',
    500: '#7b4ab0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ab0;
$custom-light: #a47ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ab0",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 268.824,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.15848,
    "h": 303.5
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#7B4AB0
secondary
#ACC393
accent
#D15796
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7B4AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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