#7B3BAD#7B3BAD

#7B3BAD is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 306.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7B3BAD
RGBrgb(123, 59, 173)
HSLhsl(274, 49%, 45%)
HSVhsv(274, 66%, 68%)
CMYKcmyk(28.9%, 65.9%, 0%, 32.2%)
CIE-LABlab(38.47, 48.41, -50.05)
CIE-LCHlch(38.47, 69.63, 314.05°)
OKLaboklab(49.07% 0.106 -0.1417)
OKLCHoklch(49.07% 0.177 306.8)
XYZxyz(17.2736, 10.3562, 40.6160)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BAD #6DAD3B
analogous
#423BAD #7B3BAD #AD3BA6
triadic
#7B3BAD #AD7B3B #3BAD7B
tetradic
#7B3BAD #AD423B #6DAD3B #3BA6AD
square
#7B3BAD #AD423B #6DAD3B #3BA6AD
split-complementary
#7B3BAD #A6AD3B #3BAD42
monochromatic
#3A1C52 #5B2B7F #7B3BAD #995DC8 #B68BD7

Accessibility & contrast

On white

6.84
#7B3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7B3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BAD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BAD#FFFFFF#000000##FFFFFF
##7B3BAD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#215BAA
Tritanopia (blue-blind)
#73536F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b3bad;
/* rgb */ color: rgb(123, 59, 173);
/* oklch */ color: oklch(49.1% 0.177 306.8);
Tailwind
colors: {
  custom: {
    50: '#a575c6',
    500: '#7b3bad',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bad;
$custom-light: #a575c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bad",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 273.684,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.17696,
    "h": 306.8
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#7B3BAD
secondary
#9EC282
accent
#D94F8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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