#7B4AC4#7B4AC4

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

Color values

HEX#7B4AC4
RGBrgb(123, 74, 196)
HSLhsl(264, 51%, 53%)
HSVhsv(264, 62%, 77%)
CMYKcmyk(37.2%, 62.2%, 0%, 23.1%)
CIE-LABlab(42.90, 46.34, -56.41)
CIE-LCHlch(42.90, 73.01, 309.40°)
OKLaboklab(52.77% 0.0868 -0.1605)
OKLCHoklch(52.77% 0.182 298.4)
XYZxyz(20.5785, 13.0938, 53.6570)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AC4 #93C44A
analogous
#4A56C4 #7B4AC4 #B84AC4
triadic
#7B4AC4 #C47B4A #4AC47B
tetradic
#7B4AC4 #C44A56 #93C44A #4AC4B8
square
#7B4AC4 #C44A56 #93C44A #4AC4B8
split-complementary
#7B4AC4 #C4B84A #56C44A
monochromatic
#42246F #5E339D #7B4AC4 #9D78D3 #BEA6E2

Accessibility & contrast

On white

5.80
#7B4AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7B4AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AC4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AC4#FFFFFF#000000##FFFFFF
##7B4AC41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#1264C1
Tritanopia (blue-blind)
#6A6580
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4ac4;
/* rgb */ color: rgb(123, 74, 196);
/* oklch */ color: oklch(52.8% 0.182 298.4);
Tailwind
colors: {
  custom: {
    50: '#a67fd7',
    500: '#7b4ac4',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ac4;
$custom-light: #a67fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ac4",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 264.098,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.18243,
    "h": 298.4
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#7B4AC4
secondary
#BACF9B
accent
#DA4DA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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