#7B3CB8#7B3CB8

#7B3CB8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.188 H 303.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7B3CB8
RGBrgb(123, 60, 184)
HSLhsl(270, 51%, 48%)
HSVhsv(270, 67%, 72%)
CMYKcmyk(33.2%, 67.4%, 0%, 27.8%)
CIE-LABlab(39.42, 50.55, -55.03)
CIE-LCHlch(39.42, 74.73, 312.57°)
OKLaboklab(49.99% 0.1038 -0.1564)
OKLCHoklch(49.99% 0.188 303.6)
XYZxyz(18.4340, 10.9034, 46.4715)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CB8 #79B83C
analogous
#3D3CB8 #7B3CB8 #B83CB7
triadic
#7B3CB8 #B87B3C #3CB87B
tetradic
#7B3CB8 #B83D3C #79B83C #3CB7B8
square
#7B3CB8 #B83D3C #79B83C #3CB7B8
split-complementary
#7B3CB8 #B7B83C #3CB83D
monochromatic
#3D1E5C #5C2D8A #7B3CB8 #9965CD #B893DC

Accessibility & contrast

On white

6.60
#7B3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7B3CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CB8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CB8#FFFFFF#000000##FFFFFF
##7B3CB81.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#085DB5
Tritanopia (blue-blind)
#6F5875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3cb8;
/* rgb */ color: rgb(123, 60, 184);
/* oklch */ color: oklch(50.0% 0.188 303.6);
Tailwind
colors: {
  custom: {
    50: '#a676ce',
    500: '#7b3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cb8;
$custom-light: #a676ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cb8",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 270.484,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49991,
    "c": 0.18765,
    "h": 303.6
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#7B3CB8
secondary
#A7C789
accent
#DA4D93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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