#7B3597#7B3597

#7B3597 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.162 H 314.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7B3597
RGBrgb(123, 53, 151)
HSLhsl(283, 48%, 40%)
HSVhsv(283, 65%, 59%)
CMYKcmyk(18.5%, 64.9%, 0%, 40.8%)
CIE-LABlab(35.97, 46.36, -40.85)
CIE-LCHlch(35.97, 61.79, 318.61°)
OKLaboklab(46.8% 0.1144 -0.1147)
OKLCHoklch(46.8% 0.162 314.9)
XYZxyz(15.0265, 8.9920, 30.2162)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3597 #519735
analogous
#4A3597 #7B3597 #973582
triadic
#7B3597 #977B35 #35977B
tetradic
#7B3597 #974A35 #519735 #358297
square
#7B3597 #974A35 #519735 #358297
split-complementary
#7B3597 #829735 #35974A
monochromatic
#31153C #56256A #7B3597 #9E4ABF #B677CF

Accessibility & contrast

On white

7.50
#7B3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7B3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3597
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3597#FFFFFF#000000##FFFFFF
##7B35971.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#335695
Tritanopia (blue-blind)
#794761
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b3597;
/* rgb */ color: rgb(123, 53, 151);
/* oklch */ color: oklch(46.8% 0.162 314.9);
Tailwind
colors: {
  custom: {
    50: '#a471b6',
    500: '#7b3597',
    950: '#000000',
  },
}
SCSS
$custom: #7b3597;
$custom-light: #a471b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3597",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 282.857,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.16199,
    "h": 314.9
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#7B3597
secondary
#84B870
accent
#D85077
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7B3597

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

Preview Lab → · Contrast checker → · Palette generator →

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