#7B3BC2#7B3BC2

#7B3BC2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.200 H 301.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7B3BC2
RGBrgb(123, 59, 194)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(36.6%, 69.6%, 0%, 23.9%)
CIE-LABlab(39.97, 53.48, -60.00)
CIE-LCHlch(39.97, 80.37, 311.71°)
OKLaboklab(50.62% 0.1034 -0.1709)
OKLCHoklch(50.62% 0.2 301.2)
XYZxyz(19.4676, 11.2338, 52.1712)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BC2 #82C23B
analogous
#3B3FC2 #7B3BC2 #BE3BC2
triadic
#7B3BC2 #C27B3B #3BC27B
tetradic
#7B3BC2 #C23B3F #82C23B #3BC2BE
square
#7B3BC2 #C23B3F #82C23B #3BC2BE
split-complementary
#7B3BC2 #C2BE3B #3FC23B
monochromatic
#3F1E64 #5D2D93 #7B3BC2 #9A69D1 #BA98E0

Accessibility & contrast

On white

6.47
#7B3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7B3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BC2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BC2#FFFFFF#000000##FFFFFF
##7B3BC21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#6C5B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3bc2;
/* rgb */ color: rgb(123, 59, 194);
/* oklch */ color: oklch(50.6% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#a776d5',
    500: '#7b3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bc2;
$custom-light: #a776d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bc2",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 268.444,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.1998,
    "h": 301.2
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#7B3BC2
secondary
#AECB8E
accent
#DD4B98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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