#7B3FC6#7B3FC6

#7B3FC6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.199 H 299.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC6
RGBrgb(123, 63, 198)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 68%, 78%)
CMYKcmyk(37.9%, 68.2%, 0%, 22.4%)
CIE-LABlab(40.97, 52.53, -60.72)
CIE-LCHlch(40.97, 80.29, 310.86°)
OKLaboklab(51.42% 0.0987 -0.1731)
OKLCHoklch(51.42% 0.199 299.7)
XYZxyz(20.1364, 11.8430, 54.6402)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC6 #8AC63F
analogous
#3F46C6 #7B3FC6 #BF3FC6
triadic
#7B3FC6 #C67B3F #3FC67B
tetradic
#7B3FC6 #C63F46 #8AC63F #3FC6BF
square
#7B3FC6 #C63F46 #8AC63F #3FC6BF
split-complementary
#7B3FC6 #C6BF3F #46C63F
monochromatic
#41206B #5E2E9A #7B3FC6 #9B6ED4 #BC9DE2

Accessibility & contrast

On white

6.23
#7B3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7B3FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FC6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC6#FFFFFF#000000##FFFFFF
##7B3FC61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6A5F7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3fc6;
/* rgb */ color: rgb(123, 63, 198);
/* oklch */ color: oklch(51.4% 0.199 299.7);
Tailwind
colors: {
  custom: {
    50: '#a778d8',
    500: '#7b3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc6;
$custom-light: #a778d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc6",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 266.667,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.19924,
    "h": 299.7
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#7B3FC6
secondary
#B4CE93
accent
#DE4A9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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