#7B4ABE#7B4ABE

#7B4ABE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.175 H 299.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7B4ABE
RGBrgb(123, 74, 190)
HSLhsl(265, 47%, 52%)
HSVhsv(265, 61%, 75%)
CMYKcmyk(35.3%, 61.1%, 0%, 25.5%)
CIE-LABlab(42.50, 44.79, -53.57)
CIE-LCHlch(42.50, 69.83, 309.90°)
OKLaboklab(52.35% 0.0871 -0.1521)
OKLCHoklch(52.35% 0.175 299.8)
XYZxyz(19.9092, 12.8260, 50.1320)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ABE #8DBE4A
analogous
#4A53BE #7B4ABE #B54ABE
triadic
#7B4ABE #BE7B4A #4ABE7B
tetradic
#7B4ABE #BE4A53 #8DBE4A #4ABEB5
square
#7B4ABE #BE4A53 #8DBE4A #4ABEB5
split-complementary
#7B4ABE #BEB54A #53BE4A
monochromatic
#422568 #5E3695 #7B4ABE #9C77CE #BDA4DE

Accessibility & contrast

On white

5.89
#7B4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7B4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4ABE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4ABE#FFFFFF#000000##FFFFFF
##7B4ABE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2063BB
Tritanopia (blue-blind)
#6C637D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b4abe;
/* rgb */ color: rgb(123, 74, 190);
/* oklch */ color: oklch(52.3% 0.175 299.8);
Tailwind
colors: {
  custom: {
    50: '#a67fd2',
    500: '#7b4abe',
    950: '#000000',
  },
}
SCSS
$custom: #7b4abe;
$custom-light: #a67fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4abe",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 265.345,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.17529,
    "h": 299.8
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#7B4ABE
secondary
#B6CB98
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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