#7E348C#7E348C

#7E348C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.154 H 321.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7E348C
RGBrgb(126, 52, 140)
HSLhsl(290, 46%, 38%)
HSVhsv(290, 63%, 55%)
CMYKcmyk(10%, 62.9%, 0%, 45.1%)
CIE-LABlab(35.57, 45.29, -34.74)
CIE-LCHlch(35.57, 57.08, 322.50°)
OKLaboklab(46.39% 0.1194 -0.0968)
OKLCHoklch(46.39% 0.154 321)
XYZxyz(14.5653, 8.7858, 25.7345)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E348C #428C34
analogous
#52348C #7E348C #8C346E
triadic
#7E348C #8C7E34 #348C7E
tetradic
#7E348C #8C5234 #428C34 #346E8C
square
#7E348C #8C5234 #428C34 #346E8C
split-complementary
#7E348C #6E8C34 #348C52
monochromatic
#2E1333 #56235F #7E348C #A645B9 #BC70CA

Accessibility & contrast

On white

7.62
#7E348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7E348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E348C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E348C#FFFFFF#000000##FFFFFF
##7E348C1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#3D568A
Tritanopia (blue-blind)
#7F425B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e348c;
/* rgb */ color: rgb(126, 52, 140);
/* oklch */ color: oklch(46.4% 0.154 321.0);
Tailwind
colors: {
  custom: {
    50: '#a670ae',
    500: '#7e348c',
    950: '#000000',
  },
}
SCSS
$custom: #7e348c;
$custom-light: #a670ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e348c",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 290.455,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.15371,
    "h": 321
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#7E348C
secondary
#75B26A
accent
#D55267
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E348C

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

Preview Lab → · Contrast checker → · Palette generator →

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