#7B3B95#7B3B95

#7B3B95 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.151 H 315.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7B3B95
RGBrgb(123, 59, 149)
HSLhsl(283, 43%, 41%)
HSVhsv(283, 60%, 58%)
CMYKcmyk(17.4%, 60.4%, 0%, 41.6%)
CIE-LABlab(36.95, 42.92, -38.08)
CIE-LCHlch(36.95, 57.37, 318.42°)
OKLaboklab(47.48% 0.1067 -0.1066)
OKLCHoklch(47.48% 0.151 315)
XYZxyz(15.1563, 9.5093, 29.4650)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3B95 #55953B
analogous
#4E3B95 #7B3B95 #953B82
triadic
#7B3B95 #957B3B #3B957B
tetradic
#7B3B95 #954E3B #55953B #3B8295
square
#7B3B95 #954E3B #55953B #3B8295
split-complementary
#7B3B95 #82953B #3B954E
monochromatic
#33183D #572A69 #7B3B95 #9D53BB #B67ECC

Accessibility & contrast

On white

7.24
#7B3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7B3B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3B95
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3B95#FFFFFF#000000##FFFFFF
##7B3B951.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#794B62
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b3b95;
/* rgb */ color: rgb(123, 59, 149);
/* oklch */ color: oklch(47.5% 0.151 315.0);
Tailwind
colors: {
  custom: {
    50: '#a474b4',
    500: '#7b3b95',
    950: '#000000',
  },
}
SCSS
$custom: #7b3b95;
$custom-light: #a474b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3b95",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 282.667,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.15082,
    "h": 315
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#7B3B95
secondary
#88B676
accent
#D35579
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7B3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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