#7B3C99#7B3C99

#7B3C99 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.9% C 0.154 H 313.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7B3C99
RGBrgb(123, 60, 153)
HSLhsl(281, 44%, 42%)
HSVhsv(281, 61%, 60%)
CMYKcmyk(19.6%, 60.8%, 0%, 40%)
CIE-LABlab(37.38, 43.29, -39.82)
CIE-LCHlch(37.38, 58.82, 317.39°)
OKLaboklab(47.87% 0.1054 -0.1117)
OKLCHoklch(47.87% 0.154 313.3)
XYZxyz(15.5330, 9.7430, 31.1932)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3C99 #5A993C
analogous
#4D3C99 #7B3C99 #993C89
triadic
#7B3C99 #997B3C #3C997B
tetradic
#7B3C99 #994D3C #5A993C #3C8999
square
#7B3C99 #994D3C #5A993C #3C8999
split-complementary
#7B3C99 #89993C #3C994D
monochromatic
#341A41 #582B6D #7B3C99 #9B56BD #B582CE

Accessibility & contrast

On white

7.12
#7B3C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7B3C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3C99
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3C99#FFFFFF#000000##FFFFFF
##7B3C991.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559C
Deuteranopia (green-blind)
#385997
Tritanopia (blue-blind)
#784D65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b3c99;
/* rgb */ color: rgb(123, 60, 153);
/* oklch */ color: oklch(47.9% 0.154 313.3);
Tailwind
colors: {
  custom: {
    50: '#a475b7',
    500: '#7b3c99',
    950: '#000000',
  },
}
SCSS
$custom: #7b3c99;
$custom-light: #a475b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3c99",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 280.645,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47865,
    "c": 0.15361,
    "h": 313.3
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#7B3C99
secondary
#8DB879
accent
#D3547D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B3C99

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

Preview Lab → · Contrast checker → · Palette generator →

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