#7B4699#7B4699

#7B4699 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.137 H 311.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7B4699
RGBrgb(123, 70, 153)
HSLhsl(278, 37%, 44%)
HSVhsv(278, 54%, 60%)
CMYKcmyk(19.6%, 54.2%, 0%, 40%)
CIE-LABlab(39.40, 37.91, -36.60)
CIE-LCHlch(39.40, 52.70, 316.01°)
OKLaboklab(49.35% 0.0918 -0.1024)
OKLCHoklch(49.35% 0.137 311.9)
XYZxyz(16.1073, 10.8915, 31.3846)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4699 #649946
analogous
#514699 #7B4699 #99468D
triadic
#7B4699 #997B46 #46997B
tetradic
#7B4699 #995146 #649946 #468D99
square
#7B4699 #995146 #649946 #468D99
split-complementary
#7B4699 #8D9946 #469951
monochromatic
#372045 #59336F #7B4699 #9A64B8 #B58ECB

Accessibility & contrast

On white

6.61
#7B4699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7B4699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4699
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4699#FFFFFF#000000##FFFFFF
##7B46991.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#785469
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b4699;
/* rgb */ color: rgb(123, 70, 153);
/* oklch */ color: oklch(49.3% 0.137 311.9);
Tailwind
colors: {
  custom: {
    50: '#a37bb7',
    500: '#7b4699',
    950: '#000000',
  },
}
SCSS
$custom: #7b4699;
$custom-light: #a37bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4699",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 278.313,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.13748,
    "h": 311.9
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#7B4699
secondary
#96B784
accent
#CD5B84
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B4699

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

Preview Lab → · Contrast checker → · Palette generator →

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