#7B3FC7#7B3FC7

#7B3FC7 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.200 H 299.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC7
RGBrgb(123, 63, 199)
HSLhsl(266, 55%, 51%)
HSVhsv(266, 68%, 78%)
CMYKcmyk(38.2%, 68.3%, 0%, 22%)
CIE-LABlab(41.04, 52.78, -61.18)
CIE-LCHlch(41.04, 80.80, 310.79°)
OKLaboklab(51.5% 0.0986 -0.1744)
OKLCHoklch(51.5% 0.2 299.5)
XYZxyz(20.2521, 11.8893, 55.2496)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC7 #8BC73F
analogous
#3F47C7 #7B3FC7 #BF3FC7
triadic
#7B3FC7 #C77B3F #3FC77B
tetradic
#7B3FC7 #C73F47 #8BC73F #3FC7BF
square
#7B3FC7 #C73F47 #8BC73F #3FC7BF
split-complementary
#7B3FC7 #C7BF3F #47C73F
monochromatic
#41206C #5E2D9B #7B3FC7 #9C6ED5 #BC9EE3

Accessibility & contrast

On white

6.22
#7B3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7B3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FC7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC7#FFFFFF#000000##FFFFFF
##7B3FC71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#6A5F7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3fc7;
/* rgb */ color: rgb(123, 63, 199);
/* oklch */ color: oklch(51.5% 0.200 299.5);
Tailwind
colors: {
  custom: {
    50: '#a778d9',
    500: '#7b3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc7;
$custom-light: #a778d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc7",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 266.471,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.20035,
    "h": 299.5
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#7B3FC7
secondary
#B4CF93
accent
#DE4A9D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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