#7E348F#7E348F

#7E348F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.6% C 0.157 H 319.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7E348F
RGBrgb(126, 52, 143)
HSLhsl(289, 47%, 38%)
HSVhsv(289, 64%, 56%)
CMYKcmyk(11.9%, 63.6%, 0%, 43.9%)
CIE-LABlab(35.74, 45.90, -36.31)
CIE-LCHlch(35.74, 58.52, 321.66°)
OKLaboklab(46.58% 0.1195 -0.1013)
OKLCHoklch(46.58% 0.157 319.7)
XYZxyz(14.7895, 8.8754, 26.9154)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E348F #458F34
analogous
#50348F #7E348F #8F3472
triadic
#7E348F #8F7E34 #348F7E
tetradic
#7E348F #8F5034 #458F34 #34728F
square
#7E348F #8F5034 #458F34 #34728F
split-complementary
#7E348F #728F34 #348F50
monochromatic
#2F1335 #562462 #7E348F #A545BB #BB72CC

Accessibility & contrast

On white

7.57
#7E348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E348F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E348F#FFFFFF#000000##FFFFFF
##7E348F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#7E435C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e348f;
/* rgb */ color: rgb(126, 52, 143);
/* oklch */ color: oklch(46.6% 0.157 319.7);
Tailwind
colors: {
  custom: {
    50: '#a671b0',
    500: '#7e348f',
    950: '#000000',
  },
}
SCSS
$custom: #7e348f;
$custom-light: #a671b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e348f",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 288.791,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.15668,
    "h": 319.7
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#7E348F
secondary
#79B46B
accent
#D6516A
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E348F

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

Preview Lab → · Contrast checker → · Palette generator →

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