#7E349E#7E349E

#7E349E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.172 H 314.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7E349E
RGBrgb(126, 52, 158)
HSLhsl(282, 50%, 41%)
HSVhsv(282, 67%, 62%)
CMYKcmyk(20.3%, 67.1%, 0%, 38%)
CIE-LABlab(36.67, 49.07, -43.95)
CIE-LCHlch(36.67, 65.87, 318.15°)
OKLaboklab(47.54% 0.1192 -0.1237)
OKLCHoklch(47.54% 0.172 314)
XYZxyz(16.0027, 9.3607, 33.3049)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E349E #549E34
analogous
#49349E #7E349E #9E3489
triadic
#7E349E #9E7E34 #349E7E
tetradic
#7E349E #9E4934 #549E34 #34899E
square
#7E349E #9E4934 #549E34 #34899E
split-complementary
#7E349E #899E34 #349E49
monochromatic
#351642 #592570 #7E349E #9F4BC4 #B879D3

Accessibility & contrast

On white

7.31
#7E349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E349E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E349E#FFFFFF#000000##FFFFFF
##7E349E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#2F589C
Tritanopia (blue-blind)
#7B4964
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e349e;
/* rgb */ color: rgb(126, 52, 158);
/* oklch */ color: oklch(47.5% 0.172 314.0);
Tailwind
colors: {
  custom: {
    50: '#a771bb',
    500: '#7e349e',
    950: '#000000',
  },
}
SCSS
$custom: #7e349e;
$custom-light: #a771bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e349e",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 281.887,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.17177,
    "h": 314
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#7E349E
secondary
#88BC72
accent
#DA4E78
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E349E

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

Preview Lab → · Contrast checker → · Palette generator →

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