#7B4AC8#7B4AC8

#7B4AC8 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.187 H 297.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7B4AC8
RGBrgb(123, 74, 200)
HSLhsl(263, 53%, 54%)
HSVhsv(263, 63%, 78%)
CMYKcmyk(38.5%, 63%, 0%, 21.6%)
CIE-LABlab(43.18, 47.38, -58.29)
CIE-LCHlch(43.18, 75.12, 309.10°)
OKLaboklab(53.06% 0.0865 -0.166)
OKLCHoklch(53.06% 0.187 297.5)
XYZxyz(21.0398, 13.2783, 56.0869)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AC8 #97C84A
analogous
#4A58C8 #7B4AC8 #BA4AC8
triadic
#7B4AC8 #C87B4A #4AC87B
tetradic
#7B4AC8 #C84A58 #97C84A #4AC8BA
square
#7B4AC8 #C84A58 #97C84A #4AC8BA
split-complementary
#7B4AC8 #C8BA4A #58C84A
monochromatic
#432374 #5E32A3 #7B4AC8 #9D79D6 #BFA8E5

Accessibility & contrast

On white

5.74
#7B4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7B4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AC8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AC8#FFFFFF#000000##FFFFFF
##7B4AC81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0065C5
Tritanopia (blue-blind)
#696682
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4ac8;
/* rgb */ color: rgb(123, 74, 200);
/* oklch */ color: oklch(53.1% 0.187 297.5);
Tailwind
colors: {
  custom: {
    50: '#a67fd9',
    500: '#7b4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ac8;
$custom-light: #a67fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ac8",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 263.333,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.18718,
    "h": 297.5
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#7B4AC8
secondary
#BDD29C
accent
#DD4BA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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