#7B4B92#7B4B92

#7B4B92 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 49.8% C 0.121 H 313.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7B4B92
RGBrgb(123, 75, 146)
HSLhsl(281, 32%, 43%)
HSVhsv(281, 49%, 57%)
CMYKcmyk(15.8%, 48.6%, 0%, 42.7%)
CIE-LABlab(40.11, 33.48, -31.25)
CIE-LCHlch(40.11, 45.79, 316.97°)
OKLaboklab(49.75% 0.0836 -0.0868)
OKLCHoklch(49.75% 0.121 313.9)
XYZxyz(15.8719, 11.3188, 28.5372)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4B92 #62924B
analogous
#574B92 #7B4B92 #924B85
triadic
#7B4B92 #927B4B #4B927B
tetradic
#7B4B92 #92574B #62924B #4B8592
square
#7B4B92 #92574B #62924B #4B8592
split-complementary
#7B4B92 #85924B #4B9257
monochromatic
#372141 #59366A #7B4B92 #9A69B2 #B591C6

Accessibility & contrast

On white

6.43
#7B4B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7B4B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4B92
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4B92#FFFFFF#000000##FFFFFF
##7B4B921.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C94
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#795667
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b4b92;
/* rgb */ color: rgb(123, 75, 146);
/* oklch */ color: oklch(49.8% 0.121 313.9);
Tailwind
colors: {
  custom: {
    50: '#a37fb2',
    500: '#7b4b92',
    950: '#000000',
  },
}
SCSS
$custom: #7b4b92;
$custom-light: #a37fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4b92",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 280.563,
    "s": 32.127,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.12058,
    "h": 313.9
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#7B4B92
secondary
#95B386
accent
#C86081
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7B4B92

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

Preview Lab → · Contrast checker → · Palette generator →

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