#7E349D#7E349D

#7E349D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 314.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7E349D
RGBrgb(126, 52, 157)
HSLhsl(282, 50%, 41%)
HSVhsv(282, 67%, 62%)
CMYKcmyk(19.7%, 66.9%, 0%, 38.4%)
CIE-LABlab(36.61, 48.85, -43.45)
CIE-LCHlch(36.61, 65.38, 318.35°)
OKLaboklab(47.48% 0.1193 -0.1222)
OKLCHoklch(47.48% 0.171 314.3)
XYZxyz(15.9170, 9.3264, 32.8535)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E349D #539D34
analogous
#49349D #7E349D #9D3487
triadic
#7E349D #9D7E34 #349D7E
tetradic
#7E349D #9D4934 #539D34 #34879D
square
#7E349D #9D4934 #539D34 #34879D
split-complementary
#7E349D #879D34 #349D49
monochromatic
#341641 #59256F #7E349D #A04BC3 #B879D3

Accessibility & contrast

On white

7.33
#7E349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7E349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E349D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E349D#FFFFFF#000000##FFFFFF
##7E349D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#30589B
Tritanopia (blue-blind)
#7B4864
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e349d;
/* rgb */ color: rgb(126, 52, 157);
/* oklch */ color: oklch(47.5% 0.171 314.3);
Tailwind
colors: {
  custom: {
    50: '#a771ba',
    500: '#7e349d',
    950: '#000000',
  },
}
SCSS
$custom: #7e349d;
$custom-light: #a771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e349d",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 282.286,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.17076,
    "h": 314.3
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#7E349D
secondary
#87BB72
accent
#DA4E77
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E349D

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

Preview Lab → · Contrast checker → · Palette generator →

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