#7B4BB7#7B4BB7

#7B4BB7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.165 H 301.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7B4BB7
RGBrgb(123, 75, 183)
HSLhsl(267, 43%, 51%)
HSVhsv(267, 59%, 72%)
CMYKcmyk(32.8%, 59%, 0%, 28.2%)
CIE-LABlab(42.25, 42.45, -49.88)
CIE-LCHlch(42.25, 65.50, 310.40°)
OKLaboklab(52.02% 0.0861 -0.1413)
OKLCHoklch(52.02% 0.165 301.4)
XYZxyz(19.2297, 12.6619, 46.2215)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BB7 #87B74B
analogous
#4B51B7 #7B4BB7 #B14BB7
triadic
#7B4BB7 #B77B4B #4BB77B
tetradic
#7B4BB7 #B74B51 #87B74B #4BB7B1
square
#7B4BB7 #B74B51 #87B74B #4BB7B1
split-complementary
#7B4BB7 #B7B14B #51B74B
monochromatic
#412761 #5E388D #7B4BB7 #9B77C8 #BBA2DA

Accessibility & contrast

On white

5.94
#7B4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7B4BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BB7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BB7#FFFFFF#000000##FFFFFF
##7B4BB71.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BB
Deuteranopia (green-blind)
#2C63B5
Tritanopia (blue-blind)
#6F617A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b4bb7;
/* rgb */ color: rgb(123, 75, 183);
/* oklch */ color: oklch(52.0% 0.165 301.4);
Tailwind
colors: {
  custom: {
    50: '#a57fcd',
    500: '#7b4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bb7;
$custom-light: #a57fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bb7",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 266.667,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.16543,
    "h": 301.4
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#7B4BB7
secondary
#B2C797
accent
#D3559B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7B4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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