#7B4AC3#7B4AC3

#7B4AC3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.181 H 298.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7B4AC3
RGBrgb(123, 74, 195)
HSLhsl(264, 50%, 53%)
HSVhsv(264, 62%, 76%)
CMYKcmyk(36.9%, 62.1%, 0%, 23.5%)
CIE-LABlab(42.84, 46.08, -55.94)
CIE-LCHlch(42.84, 72.48, 309.48°)
OKLaboklab(52.7% 0.0869 -0.1591)
OKLCHoklch(52.7% 0.181 298.6)
XYZxyz(20.4650, 13.0484, 53.0596)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AC3 #92C34A
analogous
#4A55C3 #7B4AC3 #B84AC3
triadic
#7B4AC3 #C37B4A #4AC37B
tetradic
#7B4AC3 #C34A55 #92C34A #4AC3B8
square
#7B4AC3 #C34A55 #92C34A #4AC3B8
split-complementary
#7B4AC3 #C3B84A #55C34A
monochromatic
#42246E #5E349C #7B4AC3 #9D78D2 #BEA6E1

Accessibility & contrast

On white

5.82
#7B4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7B4AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AC3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AC3#FFFFFF#000000##FFFFFF
##7B4AC31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#6B6480
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4ac3;
/* rgb */ color: rgb(123, 74, 195);
/* oklch */ color: oklch(52.7% 0.181 298.6);
Tailwind
colors: {
  custom: {
    50: '#a67fd6',
    500: '#7b4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ac3;
$custom-light: #a67fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ac3",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 264.298,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.18125,
    "h": 298.6
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#7B4AC3
secondary
#B9CF9A
accent
#DA4EA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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