#7B4BB3#7B4BB3

#7B4BB3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.161 H 302.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7B4BB3
RGBrgb(123, 75, 179)
HSLhsl(268, 41%, 50%)
HSVhsv(268, 58%, 70%)
CMYKcmyk(31.3%, 58.1%, 0%, 29.8%)
CIE-LABlab(42.00, 41.44, -47.94)
CIE-LCHlch(42.00, 63.36, 310.84°)
OKLaboklab(51.76% 0.0861 -0.1356)
OKLCHoklch(51.76% 0.161 302.4)
XYZxyz(18.8193, 12.4978, 44.0599)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BB3 #83B34B
analogous
#4B4FB3 #7B4BB3 #AF4BB3
triadic
#7B4BB3 #B37B4B #4BB37B
tetradic
#7B4BB3 #B34B4F #83B34B #4BB3AF
square
#7B4BB3 #B34B4F #83B34B #4BB3AF
split-complementary
#7B4BB3 #B3AF4B #4FB34B
monochromatic
#40275D #5D3988 #7B4BB3 #9B76C5 #BAA1D8

Accessibility & contrast

On white

6.00
#7B4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B4BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BB3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BB3#FFFFFF#000000##FFFFFF
##7B4BB31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#706078
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b4bb3;
/* rgb */ color: rgb(123, 75, 179);
/* oklch */ color: oklch(51.8% 0.161 302.4);
Tailwind
colors: {
  custom: {
    50: '#a57fca',
    500: '#7b4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bb3;
$custom-light: #a57fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bb3",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 267.692,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51755,
    "c": 0.16059,
    "h": 302.4
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#7B4BB3
secondary
#AFC495
accent
#D15799
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7B4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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