#7B3AB9#7B3AB9

#7B3AB9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.191 H 303.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7B3AB9
RGBrgb(123, 58, 185)
HSLhsl(271, 52%, 48%)
HSVhsv(271, 69%, 73%)
CMYKcmyk(33.5%, 68.6%, 0%, 27.5%)
CIE-LABlab(39.14, 51.77, -56.07)
CIE-LCHlch(39.14, 76.32, 312.71°)
OKLaboklab(49.81% 0.1058 -0.1594)
OKLCHoklch(49.81% 0.191 303.6)
XYZxyz(18.4364, 10.7399, 46.9913)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AB9 #78B93A
analogous
#3C3AB9 #7B3AB9 #B93AB7
triadic
#7B3AB9 #B97B3A #3AB97B
tetradic
#7B3AB9 #B93C3A #78B93A #3AB7B9
square
#7B3AB9 #B93C3A #78B93A #3AB7B9
split-complementary
#7B3AB9 #B7B93A #3AB93C
monochromatic
#3D1D5C #5C2B8A #7B3AB9 #9962CE #B891DC

Accessibility & contrast

On white

6.67
#7B3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B3AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AB9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AB9#FFFFFF#000000##FFFFFF
##7B3AB91.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3ab9;
/* rgb */ color: rgb(123, 58, 185);
/* oklch */ color: oklch(49.8% 0.191 303.6);
Tailwind
colors: {
  custom: {
    50: '#a675cf',
    500: '#7b3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ab9;
$custom-light: #a675cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ab9",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 270.709,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.19132,
    "h": 303.6
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#7B3AB9
secondary
#A7C787
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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