#7E348E#7E348E

#7E348E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.156 H 320.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7E348E
RGBrgb(126, 52, 142)
HSLhsl(289, 46%, 38%)
HSVhsv(289, 63%, 56%)
CMYKcmyk(11.3%, 63.4%, 0%, 44.3%)
CIE-LABlab(35.68, 45.69, -35.79)
CIE-LCHlch(35.68, 58.04, 321.93°)
OKLaboklab(46.51% 0.1195 -0.0998)
OKLCHoklch(46.51% 0.156 320.1)
XYZxyz(14.7141, 8.8453, 26.5182)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E348E #448E34
analogous
#51348E #7E348E #8E3471
triadic
#7E348E #8E7E34 #348E7E
tetradic
#7E348E #8E5134 #448E34 #34718E
square
#7E348E #8E5134 #448E34 #34718E
split-complementary
#7E348E #718E34 #348E51
monochromatic
#2F1334 #562461 #7E348E #A644BB #BB71CB

Accessibility & contrast

On white

7.58
#7E348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7E348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E348E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E348E#FFFFFF#000000##FFFFFF
##7E348E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F91
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#7F435C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e348e;
/* rgb */ color: rgb(126, 52, 142);
/* oklch */ color: oklch(46.5% 0.156 320.1);
Tailwind
colors: {
  custom: {
    50: '#a670af',
    500: '#7e348e',
    950: '#000000',
  },
}
SCSS
$custom: #7e348e;
$custom-light: #a670af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e348e",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 289.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.15569,
    "h": 320.1
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#7E348E
secondary
#77B36A
accent
#D65269
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E348E

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

Preview Lab → · Contrast checker → · Palette generator →

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