#7B4CC3#7B4CC3

#7B4CC3 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.178 H 298.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7B4CC3
RGBrgb(123, 76, 195)
HSLhsl(264, 50%, 53%)
HSVhsv(264, 61%, 76%)
CMYKcmyk(36.9%, 61%, 0%, 23.5%)
CIE-LABlab(43.24, 44.99, -55.29)
CIE-LCHlch(43.24, 71.28, 309.14°)
OKLaboklab(53% 0.0845 -0.1572)
OKLCHoklch(53% 0.178 298.3)
XYZxyz(20.6007, 13.3197, 53.1048)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CC3 #94C34C
analogous
#4C58C3 #7B4CC3 #B64CC3
triadic
#7B4CC3 #C37B4C #4CC37B
tetradic
#7B4CC3 #C34C58 #94C34C #4CC3B6
square
#7B4CC3 #C34C58 #94C34C #4CC3B6
split-complementary
#7B4CC3 #C3B64C #58C34C
monochromatic
#43256F #5E359D #7B4CC3 #9D7AD2 #BFA8E2

Accessibility & contrast

On white

5.73
#7B4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7B4CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CC3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CC3#FFFFFF#000000##FFFFFF
##7B4CC31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1A65C0
Tritanopia (blue-blind)
#6A6680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4cc3;
/* rgb */ color: rgb(123, 76, 195);
/* oklch */ color: oklch(53.0% 0.178 298.3);
Tailwind
colors: {
  custom: {
    50: '#a680d6',
    500: '#7b4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cc3;
$custom-light: #a680d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cc3",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 263.697,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.17845,
    "h": 298.3
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#7B4CC3
secondary
#BBCF9C
accent
#D94EA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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