#7B3ABA#7B3ABA

#7B3ABA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.192 H 303.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B3ABA
RGBrgb(123, 58, 186)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 69%, 73%)
CMYKcmyk(33.9%, 68.8%, 0%, 27.1%)
CIE-LABlab(39.21, 52.01, -56.54)
CIE-LCHlch(39.21, 76.82, 312.61°)
OKLaboklab(49.89% 0.1057 -0.1608)
OKLCHoklch(49.89% 0.192 303.3)
XYZxyz(18.5423, 10.7823, 47.5492)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ABA #79BA3A
analogous
#3B3ABA #7B3ABA #BA3AB9
triadic
#7B3ABA #BA7B3A #3ABA7B
tetradic
#7B3ABA #BA3B3A #79BA3A #3AB9BA
square
#7B3ABA #BA3B3A #79BA3A #3AB9BA
split-complementary
#7B3ABA #B9BA3A #3ABA3B
monochromatic
#3D1D5D #5C2B8B #7B3ABA #9963CE #B892DD

Accessibility & contrast

On white

6.65
#7B3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ABA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ABA#FFFFFF#000000##FFFFFF
##7B3ABA1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#6F5775
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3aba;
/* rgb */ color: rgb(123, 58, 186);
/* oklch */ color: oklch(49.9% 0.192 303.3);
Tailwind
colors: {
  custom: {
    50: '#a675d0',
    500: '#7b3aba',
    950: '#000000',
  },
}
SCSS
$custom: #7b3aba;
$custom-light: #a675d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3aba",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 270.469,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.19239,
    "h": 303.3
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#7B3ABA
secondary
#A7C888
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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