#7B4792#7B4792

#7B4792 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.1% C 0.128 H 314.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B4792
RGBrgb(123, 71, 146)
HSLhsl(282, 35%, 43%)
HSVhsv(282, 51%, 57%)
CMYKcmyk(15.8%, 51.4%, 0%, 42.7%)
CIE-LABlab(39.23, 35.75, -32.64)
CIE-LCHlch(39.23, 48.41, 317.61°)
OKLaboklab(49.1% 0.0896 -0.0908)
OKLCHoklch(49.1% 0.128 314.6)
XYZxyz(15.6091, 10.7932, 28.4496)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4792 #5E9247
analogous
#564792 #7B4792 #924783
triadic
#7B4792 #927B47 #47927B
tetradic
#7B4792 #925647 #5E9247 #478392
square
#7B4792 #925647 #5E9247 #478392
split-complementary
#7B4792 #839247 #479256
monochromatic
#361F40 #583369 #7B4792 #9B63B3 #B58CC7

Accessibility & contrast

On white

6.65
#7B4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4792
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4792#FFFFFF#000000##FFFFFF
##7B47921.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375995
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#795366
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b4792;
/* rgb */ color: rgb(123, 71, 146);
/* oklch */ color: oklch(49.1% 0.128 314.6);
Tailwind
colors: {
  custom: {
    50: '#a37cb2',
    500: '#7b4792',
    950: '#000000',
  },
}
SCSS
$custom: #7b4792;
$custom-light: #a37cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4792",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 281.6,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.12759,
    "h": 314.6
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#7B4792
secondary
#91B382
accent
#CB5D7F
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B4792

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

Preview Lab → · Contrast checker → · Palette generator →

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