#7B3BC3#7B3BC3

#7B3BC3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.201 H 300.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7B3BC3
RGBrgb(123, 59, 195)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(36.9%, 69.7%, 0%, 23.5%)
CIE-LABlab(40.05, 53.72, -60.46)
CIE-LCHlch(40.05, 80.88, 311.62°)
OKLaboklab(50.69% 0.1033 -0.1723)
OKLCHoklch(50.69% 0.201 300.9)
XYZxyz(19.5803, 11.2789, 52.7647)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BC3 #83C33B
analogous
#3B3FC3 #7B3BC3 #BF3BC3
triadic
#7B3BC3 #C37B3B #3BC37B
tetradic
#7B3BC3 #C33B3F #83C33B #3BC3BF
square
#7B3BC3 #C33B3F #83C33B #3BC3BF
split-complementary
#7B3BC3 #C3BF3B #3FC33B
monochromatic
#401F65 #5D2D94 #7B3BC3 #9B69D2 #BA98E0

Accessibility & contrast

On white

6.45
#7B3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7B3BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BC3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BC3#FFFFFF#000000##FFFFFF
##7B3BC31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6B5B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3bc3;
/* rgb */ color: rgb(123, 59, 195);
/* oklch */ color: oklch(50.7% 0.201 300.9);
Tailwind
colors: {
  custom: {
    50: '#a776d6',
    500: '#7b3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bc3;
$custom-light: #a776d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bc3",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 268.235,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.20089,
    "h": 300.9
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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