#7B347D#7B347D

#7B347D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.1% C 0.137 H 326.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7B347D
RGBrgb(123, 52, 125)
HSLhsl(298, 41%, 35%)
HSVhsv(298, 58%, 49%)
CMYKcmyk(1.6%, 58.4%, 0%, 51%)
CIE-LABlab(34.29, 41.49, -27.51)
CIE-LCHlch(34.29, 49.78, 326.45°)
OKLaboklab(45.1% 0.1146 -0.0759)
OKLCHoklch(45.1% 0.137 326.5)
XYZxyz(13.0978, 8.1484, 20.2810)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B347D #367D34
analogous
#57347D #7B347D #7D345B
triadic
#7B347D #7D7B34 #347D7B
tetradic
#7B347D #7D5734 #367D34 #345B7D
square
#7B347D #7D5734 #367D34 #345B7D
split-complementary
#7B347D #5B7D34 #347D57
monochromatic
#261027 #502252 #7B347D #A646A8 #BF6AC1

Accessibility & contrast

On white

7.99
#7B347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7B347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B347D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B347D#FFFFFF#000000##FFFFFF
##7B347D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#43547B
Tritanopia (blue-blind)
#7E3D53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b347d;
/* rgb */ color: rgb(123, 52, 125);
/* oklch */ color: oklch(45.1% 0.137 326.5);
Tailwind
colors: {
  custom: {
    50: '#a370a3',
    500: '#7b347d',
    950: '#000000',
  },
}
SCSS
$custom: #7b347d;
$custom-light: #a370a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b347d",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 298.356,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.13745,
    "h": 326.5
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#7B347D
secondary
#65A964
accent
#D1575A
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7B347D

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

Preview Lab → · Contrast checker → · Palette generator →

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