#7B3B97#7B3B97

#7B3B97 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.6% C 0.153 H 314.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7B3B97
RGBrgb(123, 59, 151)
HSLhsl(282, 44%, 41%)
HSVhsv(282, 61%, 59%)
CMYKcmyk(18.5%, 60.9%, 0%, 40.8%)
CIE-LABlab(37.07, 43.36, -39.10)
CIE-LCHlch(37.07, 58.39, 317.96°)
OKLaboklab(47.6% 0.1067 -0.1096)
OKLCHoklch(47.6% 0.153 314.2)
XYZxyz(15.3173, 9.5737, 30.3132)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3B97 #57973B
analogous
#4D3B97 #7B3B97 #973B85
triadic
#7B3B97 #977B3B #3B977B
tetradic
#7B3B97 #974D3B #57973B #3B8597
square
#7B3B97 #974D3B #57973B #3B8597
split-complementary
#7B3B97 #85973B #3B974D
monochromatic
#33193F #572A6B #7B3B97 #9C53BC #B57FCD

Accessibility & contrast

On white

7.21
#7B3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7B3B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3B97
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3B97#FFFFFF#000000##FFFFFF
##7B3B971.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#794B63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b3b97;
/* rgb */ color: rgb(123, 59, 151);
/* oklch */ color: oklch(47.6% 0.153 314.2);
Tailwind
colors: {
  custom: {
    50: '#a475b6',
    500: '#7b3b97',
    950: '#000000',
  },
}
SCSS
$custom: #7b3b97;
$custom-light: #a475b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3b97",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 281.739,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.476,
    "c": 0.15298,
    "h": 314.2
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#7B3B97
secondary
#8AB777
accent
#D4547B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7B3B97

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

Preview Lab → · Contrast checker → · Palette generator →

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