#7B4591#7B4591

#7B4591 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.7% C 0.130 H 315.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7B4591
RGBrgb(123, 69, 145)
HSLhsl(283, 36%, 42%)
HSVhsv(283, 52%, 57%)
CMYKcmyk(15.2%, 52.4%, 0%, 43.1%)
CIE-LABlab(38.75, 36.65, -32.79)
CIE-LCHlch(38.75, 49.18, 318.18°)
OKLaboklab(48.72% 0.0924 -0.0913)
OKLCHoklch(48.72% 0.13 315.3)
XYZxyz(15.4065, 10.5120, 28.0000)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4591 #5B9145
analogous
#554591 #7B4591 #914581
triadic
#7B4591 #917B45 #45917B
tetradic
#7B4591 #915545 #5B9145 #458191
square
#7B4591 #915545 #5B9145 #458191
split-complementary
#7B4591 #819145 #459155
monochromatic
#351E3E #583168 #7B4591 #9B60B3 #B589C7

Accessibility & contrast

On white

6.77
#7B4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7B4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4591
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4591#FFFFFF#000000##FFFFFF
##7B45911.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#455D8F
Tritanopia (blue-blind)
#7A5164
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b4591;
/* rgb */ color: rgb(123, 69, 145);
/* oklch */ color: oklch(48.7% 0.130 315.3);
Tailwind
colors: {
  custom: {
    50: '#a37bb1',
    500: '#7b4591',
    950: '#000000',
  },
}
SCSS
$custom: #7b4591;
$custom-light: #a37bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4591",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 282.632,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.12989,
    "h": 315.3
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#7B4591
secondary
#8EB280
accent
#CC5C7C
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B4591

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

Preview Lab → · Contrast checker → · Palette generator →

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