#7B348C#7B348C

#7B348C is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.0% C 0.152 H 319.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7B348C
RGBrgb(123, 52, 140)
HSLhsl(288, 46%, 38%)
HSVhsv(288, 63%, 55%)
CMYKcmyk(12.1%, 62.9%, 0%, 45.1%)
CIE-LABlab(35.12, 44.50, -35.48)
CIE-LCHlch(35.12, 56.91, 321.44°)
OKLaboklab(45.98% 0.1156 -0.099)
OKLCHoklch(45.98% 0.152 319.4)
XYZxyz(14.1294, 8.5610, 25.7140)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B348C #458C34
analogous
#4F348C #7B348C #8C3471
triadic
#7B348C #8C7B34 #348C7B
tetradic
#7B348C #8C4F34 #458C34 #34718C
square
#7B348C #8C4F34 #458C34 #34718C
split-complementary
#7B348C #718C34 #348C4F
monochromatic
#2D1333 #54235F #7B348C #A245B9 #B970CA

Accessibility & contrast

On white

7.74
#7B348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B348C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B348C#FFFFFF#000000##FFFFFF
##7B348C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E8F
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#7B425B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b348c;
/* rgb */ color: rgb(123, 52, 140);
/* oklch */ color: oklch(46.0% 0.152 319.4);
Tailwind
colors: {
  custom: {
    50: '#a470ae',
    500: '#7b348c',
    950: '#000000',
  },
}
SCSS
$custom: #7b348c;
$custom-light: #a470ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b348c",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 288.409,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.15222,
    "h": 319.4
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#7B348C
secondary
#78B26A
accent
#D5526C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B348C

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

Preview Lab → · Contrast checker → · Palette generator →

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