#7B4BD1#7B4BD1

#7B4BD1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.196 H 295.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7B4BD1
RGBrgb(123, 75, 209)
HSLhsl(261, 59%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(41.1%, 64.1%, 0%, 18%)
CIE-LABlab(44.01, 49.21, -62.14)
CIE-LCHlch(44.01, 79.26, 308.38°)
OKLaboklab(53.86% 0.0846 -0.1773)
OKLCHoklch(53.86% 0.196 295.5)
XYZxyz(22.1900, 13.8461, 61.8127)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BD1 #A1D14B
analogous
#4B5ED1 #7B4BD1 #BE4BD1
triadic
#7B4BD1 #D17B4B #4BD17B
tetradic
#7B4BD1 #D14B5E #A1D14B #4BD1BE
square
#7B4BD1 #D14B5E #A1D14B #4BD1BE
split-complementary
#7B4BD1 #D1BE4B #5ED14B
monochromatic
#432181 #5D2DB1 #7B4BD1 #9F7CDD #C2ACEA

Accessibility & contrast

On white

5.57
#7B4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7B4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BD1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BD1#FFFFFF#000000##FFFFFF
##7B4BD11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#656A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4bd1;
/* rgb */ color: rgb(123, 75, 209);
/* oklch */ color: oklch(53.9% 0.196 295.5);
Tailwind
colors: {
  custom: {
    50: '#a780e0',
    500: '#7b4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bd1;
$custom-light: #a780e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bd1",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 261.493,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.19645,
    "h": 295.5
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#7B4BD1
secondary
#C4D8A0
accent
#E245AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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