#7B4BC3#7B4BC3

#7B4BC3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.180 H 298.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7B4BC3
RGBrgb(123, 75, 195)
HSLhsl(264, 50%, 53%)
HSVhsv(264, 62%, 76%)
CMYKcmyk(36.9%, 61.5%, 0%, 23.5%)
CIE-LABlab(43.04, 45.54, -55.62)
CIE-LCHlch(43.04, 71.88, 309.31°)
OKLaboklab(52.85% 0.0857 -0.1581)
OKLCHoklch(52.85% 0.18 298.5)
XYZxyz(20.5323, 13.1830, 53.0820)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BC3 #93C34B
analogous
#4B57C3 #7B4BC3 #B74BC3
triadic
#7B4BC3 #C37B4B #4BC37B
tetradic
#7B4BC3 #C34B57 #93C34B #4BC3B7
square
#7B4BC3 #C34B57 #93C34B #4BC3B7
split-complementary
#7B4BC3 #C3B74B #57C34B
monochromatic
#42256F #5E349D #7B4BC3 #9D79D2 #BEA7E2

Accessibility & contrast

On white

5.77
#7B4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7B4BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BC3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BC3#FFFFFF#000000##FFFFFF
##7B4BC31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#6B6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4bc3;
/* rgb */ color: rgb(123, 75, 195);
/* oklch */ color: oklch(52.8% 0.180 298.5);
Tailwind
colors: {
  custom: {
    50: '#a680d6',
    500: '#7b4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bc3;
$custom-light: #a680d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bc3",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 264,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.17985,
    "h": 298.5
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#7B4BC3
secondary
#BACF9B
accent
#DA4EA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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