#7B4BD3#7B4BD3

#7B4BD3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.199 H 295.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7B4BD3
RGBrgb(123, 75, 211)
HSLhsl(261, 61%, 56%)
HSVhsv(261, 64%, 83%)
CMYKcmyk(41.7%, 64.5%, 0%, 17.3%)
CIE-LABlab(44.16, 49.74, -63.05)
CIE-LCHlch(44.16, 80.31, 308.27°)
OKLaboklab(54.01% 0.0844 -0.18)
OKLCHoklch(54.01% 0.199 295.1)
XYZxyz(22.4392, 13.9457, 63.1249)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BD3 #A3D34B
analogous
#4B5FD3 #7B4BD3 #BF4BD3
triadic
#7B4BD3 #D37B4B #4BD37B
tetradic
#7B4BD3 #D34B5F #A3D34B #4BD3BF
square
#7B4BD3 #D34B5F #A3D34B #4BD3BF
split-complementary
#7B4BD3 #D3BF4B #5FD34B
monochromatic
#432083 #5C2CB5 #7B4BD3 #9F7CDF #C3ADEB

Accessibility & contrast

On white

5.54
#7B4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BD3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BD3#FFFFFF#000000##FFFFFF
##7B4BD31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#646B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4bd3;
/* rgb */ color: rgb(123, 75, 211);
/* oklch */ color: oklch(54.0% 0.199 295.1);
Tailwind
colors: {
  custom: {
    50: '#a780e1',
    500: '#7b4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bd3;
$custom-light: #a780e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bd3",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 261.176,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.1988,
    "h": 295.1
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#7B4BD3
secondary
#C5D9A1
accent
#E444AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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