#7B348B#7B348B

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

Color values

HEX#7B348B
RGBrgb(123, 52, 139)
HSLhsl(289, 46%, 37%)
HSVhsv(289, 63%, 55%)
CMYKcmyk(11.5%, 62.6%, 0%, 45.5%)
CIE-LABlab(35.07, 44.30, -34.95)
CIE-LCHlch(35.07, 56.43, 321.72°)
OKLaboklab(45.92% 0.1156 -0.0975)
OKLCHoklch(45.92% 0.151 319.9)
XYZxyz(14.0560, 8.5317, 25.3275)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B348B #448B34
analogous
#50348B #7B348B #8B346F
triadic
#7B348B #8B7B34 #348B7B
tetradic
#7B348B #8B5034 #448B34 #346F8B
square
#7B348B #8B5034 #448B34 #346F8B
split-complementary
#7B348B #6F8B34 #348B50
monochromatic
#2C1332 #54235E #7B348B #A245B8 #B970C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B348B#FFFFFF#000000##FFFFFF
##7B348B1.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)
#1F4E8E
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#7C425A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b348b;
/* rgb */ color: rgb(123, 52, 139);
/* oklch */ color: oklch(45.9% 0.151 319.9);
Tailwind
colors: {
  custom: {
    50: '#a470ad',
    500: '#7b348b',
    950: '#000000',
  },
}
SCSS
$custom: #7b348b;
$custom-light: #a470ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b348b",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 288.966,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.15122,
    "h": 319.9
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#7B348B
secondary
#77B269
accent
#D5536B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B348B

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

Preview Lab → · Contrast checker → · Palette generator →

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