#7B3FA0#7B3FA0

#7B3FA0 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.157 H 310.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7B3FA0
RGBrgb(123, 63, 160)
HSLhsl(277, 43%, 44%)
HSVhsv(277, 61%, 63%)
CMYKcmyk(23.1%, 60.6%, 0%, 37.3%)
CIE-LABlab(38.38, 43.32, -42.43)
CIE-LCHlch(38.38, 60.64, 315.60°)
OKLaboklab(48.74% 0.1016 -0.1194)
OKLCHoklch(48.74% 0.157 310.4)
XYZxyz(16.2899, 10.3044, 34.3817)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FA0 #64A03F
analogous
#4A3FA0 #7B3FA0 #A03F94
triadic
#7B3FA0 #A07B3F #3FA07B
tetradic
#7B3FA0 #A04A3F #64A03F #3F94A0
square
#7B3FA0 #A04A3F #64A03F #3F94A0
split-complementary
#7B3FA0 #94A03F #3FA04A
monochromatic
#371C48 #592E74 #7B3FA0 #9A5DBF #B589D0

Accessibility & contrast

On white

6.86
#7B3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7B3FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FA0
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FA0#FFFFFF#000000##FFFFFF
##7B3FA01.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A3
Deuteranopia (green-blind)
#355B9E
Tritanopia (blue-blind)
#765169
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b3fa0;
/* rgb */ color: rgb(123, 63, 160);
/* oklch */ color: oklch(48.7% 0.157 310.4);
Tailwind
colors: {
  custom: {
    50: '#a477bd',
    500: '#7b3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fa0;
$custom-light: #a477bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fa0",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 277.113,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.15673,
    "h": 310.4
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#7B3FA0
secondary
#96BB80
accent
#D35585
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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