#7B409F#7B409F

#7B409F is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.8% C 0.154 H 310.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7B409F
RGBrgb(123, 64, 159)
HSLhsl(277, 43%, 44%)
HSVhsv(277, 60%, 62%)
CMYKcmyk(22.6%, 59.7%, 0%, 37.6%)
CIE-LABlab(38.52, 42.56, -41.61)
CIE-LCHlch(38.52, 59.52, 315.65°)
OKLaboklab(48.81% 0.1003 -0.117)
OKLCHoklch(48.81% 0.154 310.6)
XYZxyz(16.2586, 10.3813, 33.9415)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B409F #649F40
analogous
#4B409F #7B409F #9F4093
triadic
#7B409F #9F7B40 #409F7B
tetradic
#7B409F #9F4B40 #649F40 #40939F
square
#7B409F #9F4B40 #649F40 #40939F
split-complementary
#7B409F #939F40 #409F4B
monochromatic
#371D48 #592E73 #7B409F #9A5EBE #B58AD0

Accessibility & contrast

On white

6.83
#7B409F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7B409F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B409F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B409F#FFFFFF#000000##FFFFFF
##7B409F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#375C9D
Tritanopia (blue-blind)
#765269
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b409f;
/* rgb */ color: rgb(123, 64, 159);
/* oklch */ color: oklch(48.8% 0.154 310.6);
Tailwind
colors: {
  custom: {
    50: '#a478bc',
    500: '#7b409f',
    950: '#000000',
  },
}
SCSS
$custom: #7b409f;
$custom-light: #a478bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b409f",
  "rgb": {
    "r": 123,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 277.263,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.15406,
    "h": 310.6
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#7B409F
secondary
#96BB80
accent
#D25585
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B409F

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

Preview Lab → · Contrast checker → · Palette generator →

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