#7B3FC5#7B3FC5

#7B3FC5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.198 H 299.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC5
RGBrgb(123, 63, 197)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 68%, 77%)
CMYKcmyk(37.6%, 68%, 0%, 22.7%)
CIE-LABlab(40.89, 52.28, -60.25)
CIE-LCHlch(40.89, 79.77, 310.95°)
OKLaboklab(51.34% 0.0988 -0.1717)
OKLCHoklch(51.34% 0.198 299.9)
XYZxyz(20.0214, 11.7970, 54.0347)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC5 #89C53F
analogous
#3F46C5 #7B3FC5 #BE3FC5
triadic
#7B3FC5 #C57B3F #3FC57B
tetradic
#7B3FC5 #C53F46 #89C53F #3FC5BE
square
#7B3FC5 #C53F46 #89C53F #3FC5BE
split-complementary
#7B3FC5 #C5BE3F #46C53F
monochromatic
#41206A #5E2E99 #7B3FC5 #9B6ED3 #BC9DE1

Accessibility & contrast

On white

6.25
#7B3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7B3FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FC5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC5#FFFFFF#000000##FFFFFF
##7B3FC51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6A5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3fc5;
/* rgb */ color: rgb(123, 63, 197);
/* oklch */ color: oklch(51.3% 0.198 299.9);
Tailwind
colors: {
  custom: {
    50: '#a778d7',
    500: '#7b3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc5;
$custom-light: #a778d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc5",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 266.866,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.19813,
    "h": 299.9
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#7B3FC5
secondary
#B3CE92
accent
#DD4B9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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