#7E348A#7E348A

#7E348A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.152 H 321.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7E348A
RGBrgb(126, 52, 138)
HSLhsl(292, 45%, 37%)
HSVhsv(292, 62%, 54%)
CMYKcmyk(8.7%, 62.3%, 0%, 45.9%)
CIE-LABlab(35.45, 44.88, -33.70)
CIE-LCHlch(35.45, 56.13, 323.10°)
OKLaboklab(46.27% 0.1194 -0.0937)
OKLCHoklch(46.27% 0.152 321.9)
XYZxyz(14.4191, 8.7273, 24.9649)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E348A #408A34
analogous
#53348A #7E348A #8A346B
triadic
#7E348A #8A7E34 #348A7E
tetradic
#7E348A #8A5334 #408A34 #346B8A
square
#7E348A #8A5334 #408A34 #346B8A
split-complementary
#7E348A #6B8A34 #348A53
monochromatic
#2D1331 #55235E #7E348A #A745B6 #BC6FC9

Accessibility & contrast

On white

7.65
#7E348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7E348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E348A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E348A#FFFFFF#000000##FFFFFF
##7E348A1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#7F415A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e348a;
/* rgb */ color: rgb(126, 52, 138);
/* oklch */ color: oklch(46.3% 0.152 321.9);
Tailwind
colors: {
  custom: {
    50: '#a670ac',
    500: '#7e348a',
    950: '#000000',
  },
}
SCSS
$custom: #7e348a;
$custom-light: #a670ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e348a",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 291.628,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.15175,
    "h": 321.9
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#7E348A
secondary
#73B169
accent
#D55365
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E348A

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

Preview Lab → · Contrast checker → · Palette generator →

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