#7B4BC4#7B4BC4

#7B4BC4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.181 H 298.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7B4BC4
RGBrgb(123, 75, 196)
HSLhsl(264, 51%, 53%)
HSVhsv(264, 62%, 77%)
CMYKcmyk(37.2%, 61.7%, 0%, 23.1%)
CIE-LABlab(43.11, 45.80, -56.09)
CIE-LCHlch(43.11, 72.41, 309.23°)
OKLaboklab(52.92% 0.0856 -0.1595)
OKLCHoklch(52.92% 0.181 298.2)
XYZxyz(20.6458, 13.2284, 53.6795)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BC4 #94C44B
analogous
#4B57C4 #7B4BC4 #B84BC4
triadic
#7B4BC4 #C47B4B #4BC47B
tetradic
#7B4BC4 #C44B57 #94C44B #4BC4B8
square
#7B4BC4 #C44B57 #94C44B #4BC4B8
split-complementary
#7B4BC4 #C4B84B #57C44B
monochromatic
#432570 #5E349E #7B4BC4 #9D79D3 #BFA7E2

Accessibility & contrast

On white

5.76
#7B4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7B4BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BC4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BC4#FFFFFF#000000##FFFFFF
##7B4BC41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1565C1
Tritanopia (blue-blind)
#6A6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4bc4;
/* rgb */ color: rgb(123, 75, 196);
/* oklch */ color: oklch(52.9% 0.181 298.2);
Tailwind
colors: {
  custom: {
    50: '#a680d7',
    500: '#7b4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bc4;
$custom-light: #a680d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bc4",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 263.802,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.18105,
    "h": 298.2
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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