#7B409D#7B409D

#7B409D is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.152 H 311.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7B409D
RGBrgb(123, 64, 157)
HSLhsl(278, 42%, 43%)
HSVhsv(278, 59%, 62%)
CMYKcmyk(21.7%, 59.2%, 0%, 38.4%)
CIE-LABlab(38.40, 42.10, -40.60)
CIE-LCHlch(38.40, 58.49, 316.04°)
OKLaboklab(48.69% 0.1002 -0.114)
OKLCHoklch(48.69% 0.152 311.3)
XYZxyz(16.0865, 10.3124, 33.0348)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B409D #629D40
analogous
#4D409D #7B409D #9D4090
triadic
#7B409D #9D7B40 #409D7B
tetradic
#7B409D #9D4D40 #629D40 #40909D
square
#7B409D #9D4D40 #629D40 #40909D
split-complementary
#7B409D #909D40 #409D4D
monochromatic
#371D46 #592E72 #7B409D #9A5DBD #B589CF

Accessibility & contrast

On white

6.86
#7B409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7B409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B409D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B409D#FFFFFF#000000##FFFFFF
##7B409D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#775168
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b409d;
/* rgb */ color: rgb(123, 64, 157);
/* oklch */ color: oklch(48.7% 0.152 311.3);
Tailwind
colors: {
  custom: {
    50: '#a478ba',
    500: '#7b409d',
    950: '#000000',
  },
}
SCSS
$custom: #7b409d;
$custom-light: #a478ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b409d",
  "rgb": {
    "r": 123,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 278.065,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.15181,
    "h": 311.3
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#7B409D
secondary
#95B97F
accent
#D25683
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B409D

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

Preview Lab → · Contrast checker → · Palette generator →

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