#7B4AC2#7B4AC2

#7B4AC2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.180 H 298.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7B4AC2
RGBrgb(123, 74, 194)
HSLhsl(265, 50%, 53%)
HSVhsv(265, 62%, 76%)
CMYKcmyk(36.6%, 61.9%, 0%, 23.9%)
CIE-LABlab(42.77, 45.82, -55.47)
CIE-LCHlch(42.77, 71.95, 309.56°)
OKLaboklab(52.63% 0.0869 -0.1577)
OKLCHoklch(52.63% 0.18 298.9)
XYZxyz(20.3523, 13.0033, 52.4661)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AC2 #91C24A
analogous
#4A55C2 #7B4AC2 #B74AC2
triadic
#7B4AC2 #C27B4A #4AC27B
tetradic
#7B4AC2 #C24A55 #91C24A #4AC2B7
square
#7B4AC2 #C24A55 #91C24A #4AC2B7
split-complementary
#7B4AC2 #C2B74A #55C24A
monochromatic
#42256D #5E349B #7B4AC2 #9C78D1 #BEA6E1

Accessibility & contrast

On white

5.83
#7B4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AC2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AC2#FFFFFF#000000##FFFFFF
##7B4AC21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1764BF
Tritanopia (blue-blind)
#6B647F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4ac2;
/* rgb */ color: rgb(123, 74, 194);
/* oklch */ color: oklch(52.6% 0.180 298.9);
Tailwind
colors: {
  custom: {
    50: '#a67fd5',
    500: '#7b4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ac2;
$custom-light: #a67fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ac2",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 264.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.18006,
    "h": 298.9
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#7B4AC2
secondary
#B9CE9A
accent
#D94FA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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