#7C349E#7C349E

#7C349E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.171 H 313.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7C349E
RGBrgb(124, 52, 158)
HSLhsl(281, 50%, 41%)
HSVhsv(281, 67%, 62%)
CMYKcmyk(21.5%, 67.1%, 0%, 38%)
CIE-LABlab(36.39, 48.60, -44.42)
CIE-LCHlch(36.39, 65.84, 317.58°)
OKLaboklab(47.28% 0.1166 -0.1251)
OKLCHoklch(47.28% 0.171 313)
XYZxyz(15.7106, 9.2101, 33.2913)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C349E #569E34
analogous
#47349E #7C349E #9E348B
triadic
#7C349E #9E7C34 #349E7C
tetradic
#7C349E #9E4734 #569E34 #348B9E
square
#7C349E #9E4734 #569E34 #348B9E
split-complementary
#7C349E #8B9E34 #349E47
monochromatic
#341642 #582570 #7C349E #9D4BC4 #B679D3

Accessibility & contrast

On white

7.39
#7C349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7C349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C349E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C349E#FFFFFF#000000##FFFFFF
##7C349E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#2C579C
Tritanopia (blue-blind)
#784964
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c349e;
/* rgb */ color: rgb(124, 52, 158);
/* oklch */ color: oklch(47.3% 0.171 313.0);
Tailwind
colors: {
  custom: {
    50: '#a571bb',
    500: '#7c349e',
    950: '#000000',
  },
}
SCSS
$custom: #7c349e;
$custom-light: #a571bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c349e",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 280.755,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.17101,
    "h": 313
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C349E

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

Preview Lab → · Contrast checker → · Palette generator →

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