#7B4AC0#7B4AC0

#7B4AC0 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.178 H 299.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7B4AC0
RGBrgb(123, 74, 192)
HSLhsl(265, 48%, 52%)
HSVhsv(265, 61%, 75%)
CMYKcmyk(35.9%, 61.5%, 0%, 24.7%)
CIE-LABlab(42.63, 45.30, -54.52)
CIE-LCHlch(42.63, 70.89, 309.72°)
OKLaboklab(52.49% 0.087 -0.1549)
OKLCHoklch(52.49% 0.178 299.3)
XYZxyz(20.1292, 12.9141, 51.2911)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AC0 #8FC04A
analogous
#4A54C0 #7B4AC0 #B64AC0
triadic
#7B4AC0 #C07B4A #4AC07B
tetradic
#7B4AC0 #C04A54 #8FC04A #4AC0B6
square
#7B4AC0 #C04A54 #8FC04A #4AC0B6
split-complementary
#7B4AC0 #C0B64A #54C04A
monochromatic
#42256B #5E3598 #7B4AC0 #9C77D0 #BDA5E0

Accessibility & contrast

On white

5.86
#7B4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7B4AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AC0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AC0#FFFFFF#000000##FFFFFF
##7B4AC01.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1C64BD
Tritanopia (blue-blind)
#6C637E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4ac0;
/* rgb */ color: rgb(123, 74, 192);
/* oklch */ color: oklch(52.5% 0.178 299.3);
Tailwind
colors: {
  custom: {
    50: '#a67fd4',
    500: '#7b4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ac0;
$custom-light: #a67fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ac0",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 264.915,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52489,
    "c": 0.17768,
    "h": 299.3
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#7B4AC0
secondary
#B7CD99
accent
#D8509F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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