#7B4E99#7B4E99

#7B4E99 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.6% C 0.124 H 310.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7B4E99
RGBrgb(123, 78, 153)
HSLhsl(276, 32%, 45%)
HSVhsv(276, 49%, 60%)
CMYKcmyk(19.6%, 49%, 0%, 40%)
CIE-LABlab(41.15, 33.37, -33.82)
CIE-LCHlch(41.15, 47.52, 314.61°)
OKLaboklab(50.65% 0.0802 -0.0943)
OKLCHoklch(50.65% 0.124 310.4)
XYZxyz(16.6415, 11.9599, 31.5626)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4E99 #6C994E
analogous
#554E99 #7B4E99 #994E92
triadic
#7B4E99 #997B4E #4E997B
tetradic
#7B4E99 #99554E #6C994E #4E9299
square
#7B4E99 #99554E #6C994E #4E9299
split-complementary
#7B4E99 #92994E #4E9955
monochromatic
#3A2548 #5A3970 #7B4E99 #996FB5 #B697CA

Accessibility & contrast

On white

6.19
#7B4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7B4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4E99
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4E99#FFFFFF#000000##FFFFFF
##7B4E991.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#775A6C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b4e99;
/* rgb */ color: rgb(123, 78, 153);
/* oklch */ color: oklch(50.6% 0.124 310.4);
Tailwind
colors: {
  custom: {
    50: '#a381b7',
    500: '#7b4e99',
    950: '#000000',
  },
}
SCSS
$custom: #7b4e99;
$custom-light: #a381b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4e99",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 276,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.12381,
    "h": 310.4
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#7B4E99
secondary
#9DB78C
accent
#C95F89
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7B4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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