#7E348D#7E348D

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

Color values

HEX#7E348D
RGBrgb(126, 52, 141)
HSLhsl(290, 46%, 38%)
HSVhsv(290, 63%, 55%)
CMYKcmyk(10.6%, 63.1%, 0%, 44.7%)
CIE-LABlab(35.63, 45.49, -35.27)
CIE-LCHlch(35.63, 57.56, 322.22°)
OKLaboklab(46.45% 0.1195 -0.0983)
OKLCHoklch(46.45% 0.155 320.6)
XYZxyz(14.6393, 8.8154, 26.1246)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E348D #438D34
analogous
#52348D #7E348D #8D346F
triadic
#7E348D #8D7E34 #348D7E
tetradic
#7E348D #8D5234 #438D34 #346F8D
square
#7E348D #8D5234 #438D34 #346F8D
split-complementary
#7E348D #6F8D34 #348D52
monochromatic
#2E1334 #562460 #7E348D #A644BA #BB71CB

Accessibility & contrast

On white

7.60
#7E348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E348D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E348D#FFFFFF#000000##FFFFFF
##7E348D1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#3C568B
Tritanopia (blue-blind)
#7F425B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e348d;
/* rgb */ color: rgb(126, 52, 141);
/* oklch */ color: oklch(46.5% 0.155 320.6);
Tailwind
colors: {
  custom: {
    50: '#a670af',
    500: '#7e348d',
    950: '#000000',
  },
}
SCSS
$custom: #7e348d;
$custom-light: #a670af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e348d",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 289.888,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46452,
    "c": 0.1547,
    "h": 320.6
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#7E348D
secondary
#76B36A
accent
#D65268
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E348D

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

Preview Lab → · Contrast checker → · Palette generator →

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