#7B3C8A#7B3C8A

#7B3C8A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.0% C 0.137 H 319.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7B3C8A
RGBrgb(123, 60, 138)
HSLhsl(288, 39%, 39%)
HSVhsv(288, 57%, 54%)
CMYKcmyk(10.9%, 56.5%, 0%, 45.9%)
CIE-LABlab(36.51, 40.02, -32.05)
CIE-LCHlch(36.51, 51.27, 321.31°)
OKLaboklab(46.96% 0.1047 -0.0891)
OKLCHoklch(46.96% 0.137 319.6)
XYZxyz(14.3711, 9.2782, 25.0737)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3C8A #4B8A3C
analogous
#543C8A #7B3C8A #8A3C72
triadic
#7B3C8A #8A7B3C #3C8A7B
tetradic
#7B3C8A #8A543C #4B8A3C #3C728A
square
#7B3C8A #8A543C #4B8A3C #3C728A
split-complementary
#7B3C8A #728A3C #3C8A54
monochromatic
#2F1735 #55295F #7B3C8A #A050B3 #B77BC6

Accessibility & contrast

On white

7.35
#7B3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7B3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3C8A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3C8A#FFFFFF#000000##FFFFFF
##7B3C8A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#7B485D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b3c8a;
/* rgb */ color: rgb(123, 60, 138);
/* oklch */ color: oklch(47.0% 0.137 319.6);
Tailwind
colors: {
  custom: {
    50: '#a375ac',
    500: '#7b3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7b3c8a;
$custom-light: #a375ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3c8a",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 288.462,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46956,
    "c": 0.13742,
    "h": 319.6
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#7B3C8A
secondary
#7EAF73
accent
#CF596F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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