#7B3CC6#7B3CC6

#7B3CC6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.203 H 300.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7B3CC6
RGBrgb(123, 60, 198)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(37.9%, 69.7%, 0%, 22.4%)
CIE-LABlab(40.44, 53.98, -61.57)
CIE-LCHlch(40.44, 81.88, 311.25°)
OKLaboklab(51.05% 0.1018 -0.1756)
OKLCHoklch(51.05% 0.203 300.1)
XYZxyz(19.9748, 11.5197, 54.5863)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC6 #87C63C
analogous
#3C42C6 #7B3CC6 #C03CC6
triadic
#7B3CC6 #C67B3C #3CC67B
tetradic
#7B3CC6 #C63C42 #87C63C #3CC6C0
square
#7B3CC6 #C63C42 #87C63C #3CC6C0
split-complementary
#7B3CC6 #C6C03C #42C63C
monochromatic
#411F69 #5E2D98 #7B3CC6 #9B6BD4 #BB9BE2

Accessibility & contrast

On white

6.36
#7B3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7B3CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CC6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CC6#FFFFFF#000000##FFFFFF
##7B3CC61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#6A5D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3cc6;
/* rgb */ color: rgb(123, 60, 198);
/* oklch */ color: oklch(51.0% 0.203 300.1);
Tailwind
colors: {
  custom: {
    50: '#a777d8',
    500: '#7b3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc6;
$custom-light: #a777d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc6",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 267.391,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.20292,
    "h": 300.1
  },
  "luminance": 0.1152
}

Semantic roles & 50–950 ramp

primary
#7B3CC6
secondary
#B2CE90
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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