#7B3FC0#7B3FC0

#7B3FC0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.193 H 301.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC0
RGBrgb(123, 63, 192)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 67%, 75%)
CMYKcmyk(35.9%, 67.2%, 0%, 24.7%)
CIE-LABlab(40.53, 51.03, -57.93)
CIE-LCHlch(40.53, 77.20, 311.38°)
OKLaboklab(50.97% 0.0995 -0.1649)
OKLCHoklch(50.97% 0.193 301.1)
XYZxyz(19.4580, 11.5716, 51.0674)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC0 #84C03F
analogous
#3F44C0 #7B3FC0 #BB3FC0
triadic
#7B3FC0 #C07B3F #3FC07B
tetradic
#7B3FC0 #C03F44 #84C03F #3FC0BB
square
#7B3FC0 #C03F44 #84C03F #3FC0BB
split-complementary
#7B3FC0 #C0BB3F #44C03F
monochromatic
#402164 #5D3092 #7B3FC0 #9B6DCF #BA9BDE

Accessibility & contrast

On white

6.34
#7B3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7B3FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FC0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC0#FFFFFF#000000##FFFFFF
##7B3FC01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#6C5D7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3fc0;
/* rgb */ color: rgb(123, 63, 192);
/* oklch */ color: oklch(51.0% 0.193 301.1);
Tailwind
colors: {
  custom: {
    50: '#a678d4',
    500: '#7b3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc0;
$custom-light: #a678d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc0",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 267.907,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.19259,
    "h": 301.1
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#7B3FC0
secondary
#AFCA91
accent
#DA4E99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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