#7B419A#7B419A

#7B419A is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.147 H 312.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7B419A
RGBrgb(123, 65, 154)
HSLhsl(279, 41%, 43%)
HSVhsv(279, 58%, 60%)
CMYKcmyk(20.1%, 57.8%, 0%, 39.6%)
CIE-LABlab(38.42, 40.88, -38.76)
CIE-LCHlch(38.42, 56.33, 316.53°)
OKLaboklab(48.65% 0.0988 -0.1086)
OKLCHoklch(48.65% 0.147 312.3)
XYZxyz(15.8904, 10.3250, 31.7214)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B419A #609A41
analogous
#4E419A #7B419A #9A418C
triadic
#7B419A #9A7B41 #419A7B
tetradic
#7B419A #9A4E41 #609A41 #418C9A
square
#7B419A #9A4E41 #609A41 #418C9A
split-complementary
#7B419A #8C9A41 #419A4E
monochromatic
#361D44 #592F6F #7B419A #9A5DBB #B588CD

Accessibility & contrast

On white

6.85
#7B419A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7B419A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B419A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B419A#FFFFFF#000000##FFFFFF
##7B419A1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#785167
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b419a;
/* rgb */ color: rgb(123, 65, 154);
/* oklch */ color: oklch(48.6% 0.147 312.3);
Tailwind
colors: {
  custom: {
    50: '#a478b8',
    500: '#7b419a',
    950: '#000000',
  },
}
SCSS
$custom: #7b419a;
$custom-light: #a478b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b419a",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 279.101,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.14683,
    "h": 312.3
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#7B419A
secondary
#93B87F
accent
#D05782
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B419A

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

Preview Lab → · Contrast checker → · Palette generator →

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