#7B409B#7B409B

#7B409B is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.150 H 312.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7B409B
RGBrgb(123, 64, 155)
HSLhsl(279, 42%, 43%)
HSVhsv(279, 59%, 61%)
CMYKcmyk(20.6%, 58.7%, 0%, 39.2%)
CIE-LABlab(38.28, 41.64, -39.59)
CIE-LCHlch(38.28, 57.46, 316.45°)
OKLaboklab(48.56% 0.1002 -0.1111)
OKLCHoklch(48.56% 0.15 312)
XYZxyz(15.9171, 10.2447, 32.1429)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B409B #609B40
analogous
#4D409B #7B409B #9B408D
triadic
#7B409B #9B7B40 #409B7B
tetradic
#7B409B #9B4D40 #609B40 #408D9B
square
#7B409B #9B4D40 #609B40 #408D9B
split-complementary
#7B409B #8D9B40 #409B4D
monochromatic
#361C44 #592E70 #7B409B #9A5CBC #B588CE

Accessibility & contrast

On white

6.89
#7B409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7B409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B409B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B409B#FFFFFF#000000##FFFFFF
##7B409B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#3A5B99
Tritanopia (blue-blind)
#785067
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b409b;
/* rgb */ color: rgb(123, 64, 155);
/* oklch */ color: oklch(48.6% 0.150 312.0);
Tailwind
colors: {
  custom: {
    50: '#a478b9',
    500: '#7b409b',
    950: '#000000',
  },
}
SCSS
$custom: #7b409b;
$custom-light: #a478b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b409b",
  "rgb": {
    "r": 123,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 278.901,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.14955,
    "h": 312
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#7B409B
secondary
#93B87E
accent
#D15682
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B409B

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

Preview Lab → · Contrast checker → · Palette generator →

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