#7B3591#7B3591

#7B3591 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.156 H 317.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7B3591
RGBrgb(123, 53, 145)
HSLhsl(286, 46%, 39%)
HSVhsv(286, 63%, 57%)
CMYKcmyk(15.2%, 63.4%, 0%, 43.1%)
CIE-LABlab(35.60, 45.07, -37.78)
CIE-LCHlch(35.60, 58.81, 320.02°)
OKLaboklab(46.42% 0.1144 -0.1057)
OKLCHoklch(46.42% 0.156 317.3)
XYZxyz(14.5516, 8.8021, 27.7150)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3591 #4B9135
analogous
#4D3591 #7B3591 #913579
triadic
#7B3591 #917B35 #35917B
tetradic
#7B3591 #914D35 #4B9135 #357991
square
#7B3591 #914D35 #4B9135 #357991
split-complementary
#7B3591 #799135 #35914D
monochromatic
#2F1437 #552564 #7B3591 #A047BC #B774CC

Accessibility & contrast

On white

7.61
#7B3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7B3591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3591
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3591#FFFFFF#000000##FFFFFF
##7B35911.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F94
Deuteranopia (green-blind)
#37568F
Tritanopia (blue-blind)
#7A455E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b3591;
/* rgb */ color: rgb(123, 53, 145);
/* oklch */ color: oklch(46.4% 0.156 317.3);
Tailwind
colors: {
  custom: {
    50: '#a471b2',
    500: '#7b3591',
    950: '#000000',
  },
}
SCSS
$custom: #7b3591;
$custom-light: #a471b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3591",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 285.652,
    "s": 46.465,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46419,
    "c": 0.15581,
    "h": 317.3
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#7B3591
secondary
#7EB56D
accent
#D65271
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7B3591

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

Preview Lab → · Contrast checker → · Palette generator →

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