#7B4BC0#7B4BC0

#7B4BC0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.176 H 299.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7B4BC0
RGBrgb(123, 75, 192)
HSLhsl(265, 48%, 52%)
HSVhsv(265, 61%, 75%)
CMYKcmyk(35.9%, 60.9%, 0%, 24.7%)
CIE-LABlab(42.84, 44.76, -54.20)
CIE-LCHlch(42.84, 70.29, 309.55°)
OKLaboklab(52.64% 0.0858 -0.1539)
OKLCHoklch(52.64% 0.176 299.1)
XYZxyz(20.1965, 13.0487, 51.3135)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BC0 #90C04B
analogous
#4B56C0 #7B4BC0 #B54BC0
triadic
#7B4BC0 #C07B4B #4BC07B
tetradic
#7B4BC0 #C04B56 #90C04B #4BC0B5
square
#7B4BC0 #C04B56 #90C04B #4BC0B5
split-complementary
#7B4BC0 #C0B54B #56C04B
monochromatic
#42256B #5E3598 #7B4BC0 #9C78D0 #BDA6E0

Accessibility & contrast

On white

5.82
#7B4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7B4BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BC0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BC0#FFFFFF#000000##FFFFFF
##7B4BC01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1E64BD
Tritanopia (blue-blind)
#6C647E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4bc0;
/* rgb */ color: rgb(123, 75, 192);
/* oklch */ color: oklch(52.6% 0.176 299.1);
Tailwind
colors: {
  custom: {
    50: '#a67fd4',
    500: '#7b4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bc0;
$custom-light: #a67fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bc0",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 264.615,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.17626,
    "h": 299.1
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#7B4BC0
secondary
#B8CD9A
accent
#D850A0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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