#7B4AC5#7B4AC5

#7B4AC5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.184 H 298.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7B4AC5
RGBrgb(123, 74, 197)
HSLhsl(264, 51%, 53%)
HSVhsv(264, 62%, 77%)
CMYKcmyk(37.6%, 62.4%, 0%, 22.7%)
CIE-LABlab(42.97, 46.60, -56.88)
CIE-LCHlch(42.97, 73.53, 309.32°)
OKLaboklab(52.84% 0.0867 -0.1618)
OKLCHoklch(52.84% 0.184 298.2)
XYZxyz(20.6927, 13.1395, 54.2585)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AC5 #94C54A
analogous
#4A57C5 #7B4AC5 #B84AC5
triadic
#7B4AC5 #C57B4A #4AC57B
tetradic
#7B4AC5 #C54A57 #94C54A #4AC5B8
square
#7B4AC5 #C54A57 #94C54A #4AC5B8
split-complementary
#7B4AC5 #C5B84A #57C54A
monochromatic
#432471 #5E339F #7B4AC5 #9D78D4 #BFA7E3

Accessibility & contrast

On white

5.79
#7B4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7B4AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AC5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AC5#FFFFFF#000000##FFFFFF
##7B4AC51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0E64C2
Tritanopia (blue-blind)
#6A6581
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4ac5;
/* rgb */ color: rgb(123, 74, 197);
/* oklch */ color: oklch(52.8% 0.184 298.2);
Tailwind
colors: {
  custom: {
    50: '#a67fd7',
    500: '#7b4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ac5;
$custom-light: #a67fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ac5",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 263.902,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.18363,
    "h": 298.2
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#7B4AC5
secondary
#BBD09B
accent
#DB4DA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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