#7E349C#7E349C

#7E349C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.170 H 314.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7E349C
RGBrgb(126, 52, 156)
HSLhsl(283, 50%, 41%)
HSVhsv(283, 67%, 61%)
CMYKcmyk(19.2%, 66.7%, 0%, 38.8%)
CIE-LABlab(36.54, 48.64, -42.94)
CIE-LCHlch(36.54, 64.88, 318.56°)
OKLaboklab(47.41% 0.1193 -0.1207)
OKLCHoklch(47.41% 0.17 314.7)
XYZxyz(15.8319, 9.2924, 32.4057)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E349C #529C34
analogous
#4A349C #7E349C #9C3486
triadic
#7E349C #9C7E34 #349C7E
tetradic
#7E349C #9C4A34 #529C34 #34869C
square
#7E349C #9C4A34 #529C34 #34869C
split-complementary
#7E349C #869C34 #349C4A
monochromatic
#341540 #59256E #7E349C #A04AC3 #B878D2

Accessibility & contrast

On white

7.35
#7E349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7E349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E349C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E349C#FFFFFF#000000##FFFFFF
##7E349C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#31589A
Tritanopia (blue-blind)
#7C4863
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e349c;
/* rgb */ color: rgb(126, 52, 156);
/* oklch */ color: oklch(47.4% 0.170 314.7);
Tailwind
colors: {
  custom: {
    50: '#a771ba',
    500: '#7e349c',
    950: '#000000',
  },
}
SCSS
$custom: #7e349c;
$custom-light: #a771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e349c",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 282.692,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47408,
    "c": 0.16974,
    "h": 314.7
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#7E349C
secondary
#86BB71
accent
#DA4E76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E349C

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

Preview Lab → · Contrast checker → · Palette generator →

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