#7B4AD2#7B4AD2

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

Color values

HEX#7B4AD2
RGBrgb(123, 74, 210)
HSLhsl(262, 60%, 56%)
HSVhsv(262, 65%, 82%)
CMYKcmyk(41.4%, 64.8%, 0%, 17.6%)
CIE-LABlab(43.89, 50.00, -62.91)
CIE-LCHlch(43.89, 80.36, 308.48°)
OKLaboklab(53.8% 0.0856 -0.1796)
OKLCHoklch(53.8% 0.199 295.5)
XYZxyz(22.2469, 13.7612, 62.4443)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AD2 #A1D24A
analogous
#4A5DD2 #7B4AD2 #BF4AD2
triadic
#7B4AD2 #D27B4A #4AD27B
tetradic
#7B4AD2 #D24A5D #A1D24A #4AD2BF
square
#7B4AD2 #D24A5D #A1D24A #4AD2BF
split-complementary
#7B4AD2 #D2BF4A #5DD24A
monochromatic
#432081 #5D2CB2 #7B4AD2 #9F7BDE #C2ACEA

Accessibility & contrast

On white

5.60
#7B4AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7B4AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AD2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AD2#FFFFFF#000000##FFFFFF
##7B4AD21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#646A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4ad2;
/* rgb */ color: rgb(123, 74, 210);
/* oklch */ color: oklch(53.8% 0.199 295.5);
Tailwind
colors: {
  custom: {
    50: '#a77fe1',
    500: '#7b4ad2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ad2;
$custom-light: #a77fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ad2",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 261.618,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53795,
    "c": 0.19892,
    "h": 295.5
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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