#7B3588#7B3588

#7B3588 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.9% C 0.147 H 321.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7B3588
RGBrgb(123, 53, 136)
HSLhsl(291, 44%, 37%)
HSVhsv(291, 61%, 53%)
CMYKcmyk(9.6%, 61%, 0%, 46.7%)
CIE-LABlab(35.07, 43.19, -33.10)
CIE-LCHlch(35.07, 54.41, 322.54°)
OKLaboklab(45.87% 0.1142 -0.0921)
OKLCHoklch(45.87% 0.147 321.1)
XYZxyz(13.8849, 8.5354, 24.2039)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3588 #428835
analogous
#513588 #7B3588 #88356C
triadic
#7B3588 #887B35 #35887B
tetradic
#7B3588 #885135 #428835 #356C88
square
#7B3588 #885135 #428835 #356C88
split-complementary
#7B3588 #6C8835 #358851
monochromatic
#2B1330 #53245C #7B3588 #A346B4 #BA70C7

Accessibility & contrast

On white

7.76
#7B3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7B3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3588
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3588#FFFFFF#000000##FFFFFF
##7B35881.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#7C4259
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b3588;
/* rgb */ color: rgb(123, 53, 136);
/* oklch */ color: oklch(45.9% 0.147 321.1);
Tailwind
colors: {
  custom: {
    50: '#a471ab',
    500: '#7b3588',
    950: '#000000',
  },
}
SCSS
$custom: #7b3588;
$custom-light: #a471ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3588",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 290.602,
    "s": 43.915,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.14666,
    "h": 321.1
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#7B3588
secondary
#74B069
accent
#D45468
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B3588

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

Preview Lab → · Contrast checker → · Palette generator →

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