#7B409E#7B409E

#7B409E is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.153 H 310.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7B409E
RGBrgb(123, 64, 158)
HSLhsl(278, 42%, 44%)
HSVhsv(278, 59%, 62%)
CMYKcmyk(22.2%, 59.5%, 0%, 38%)
CIE-LABlab(38.46, 42.33, -41.11)
CIE-LCHlch(38.46, 59.01, 315.84°)
OKLaboklab(48.75% 0.1002 -0.1155)
OKLCHoklch(48.75% 0.153 310.9)
XYZxyz(16.1722, 10.3467, 33.4863)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B409E #639E40
analogous
#4C409E #7B409E #9E4092
triadic
#7B409E #9E7B40 #409E7B
tetradic
#7B409E #9E4C40 #639E40 #40929E
square
#7B409E #9E4C40 #639E40 #40929E
split-complementary
#7B409E #929E40 #409E4C
monochromatic
#371D47 #592E72 #7B409E #9A5EBE #B589CF

Accessibility & contrast

On white

6.84
#7B409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B409E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B409E#FFFFFF#000000##FFFFFF
##7B409E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#385C9C
Tritanopia (blue-blind)
#775169
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b409e;
/* rgb */ color: rgb(123, 64, 158);
/* oklch */ color: oklch(48.8% 0.153 310.9);
Tailwind
colors: {
  custom: {
    50: '#a478bb',
    500: '#7b409e',
    950: '#000000',
  },
}
SCSS
$custom: #7b409e;
$custom-light: #a478bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b409e",
  "rgb": {
    "r": 123,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 277.66,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.15293,
    "h": 310.9
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#7B409E
secondary
#95BA80
accent
#D25684
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B409E

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

Preview Lab → · Contrast checker → · Palette generator →

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