#7B349E#7B349E

#7B349E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.171 H 312.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7B349E
RGBrgb(123, 52, 158)
HSLhsl(280, 50%, 41%)
HSVhsv(280, 67%, 62%)
CMYKcmyk(22.2%, 67.1%, 0%, 38%)
CIE-LABlab(36.24, 48.37, -44.65)
CIE-LCHlch(36.24, 65.83, 317.29°)
OKLaboklab(47.15% 0.1153 -0.1258)
OKLCHoklch(47.15% 0.171 312.5)
XYZxyz(15.5668, 9.1360, 33.2845)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B349E #579E34
analogous
#46349E #7B349E #9E348C
triadic
#7B349E #9E7B34 #349E7B
tetradic
#7B349E #9E4634 #579E34 #348C9E
square
#7B349E #9E4634 #579E34 #348C9E
split-complementary
#7B349E #8C9E34 #349E46
monochromatic
#331642 #572570 #7B349E #9C4BC4 #B579D3

Accessibility & contrast

On white

7.43
#7B349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7B349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B349E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B349E#FFFFFF#000000##FFFFFF
##7B349E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#2B579C
Tritanopia (blue-blind)
#774964
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b349e;
/* rgb */ color: rgb(123, 52, 158);
/* oklch */ color: oklch(47.1% 0.171 312.5);
Tailwind
colors: {
  custom: {
    50: '#a571bb',
    500: '#7b349e',
    950: '#000000',
  },
}
SCSS
$custom: #7b349e;
$custom-light: #a571bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b349e",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 280.189,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.17065,
    "h": 312.5
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#7B349E
secondary
#8ABC72
accent
#DA4E7C
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7B349E

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

Preview Lab → · Contrast checker → · Palette generator →

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