#7D348E#7D348E

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

Color values

HEX#7D348E
RGBrgb(125, 52, 142)
HSLhsl(289, 46%, 38%)
HSVhsv(289, 63%, 56%)
CMYKcmyk(12%, 63.4%, 0%, 44.3%)
CIE-LABlab(35.54, 45.44, -36.03)
CIE-LCHlch(35.54, 57.99, 321.59°)
OKLaboklab(46.38% 0.1182 -0.1005)
OKLCHoklch(46.38% 0.155 319.6)
XYZxyz(14.5673, 8.7696, 26.5113)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D348E #458E34
analogous
#50348E #7D348E #8E3472
triadic
#7D348E #8E7D34 #348E7D
tetradic
#7D348E #8E5034 #458E34 #34728E
square
#7D348E #8E5034 #458E34 #34728E
split-complementary
#7D348E #728E34 #348E50
monochromatic
#2E1334 #562461 #7D348E #A444BB #BA71CB

Accessibility & contrast

On white

7.63
#7D348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D348E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D348E#FFFFFF#000000##FFFFFF
##7D348E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d348e;
/* rgb */ color: rgb(125, 52, 142);
/* oklch */ color: oklch(46.4% 0.155 319.6);
Tailwind
colors: {
  custom: {
    50: '#a570af',
    500: '#7d348e',
    950: '#000000',
  },
}
SCSS
$custom: #7d348e;
$custom-light: #a570af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d348e",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 288.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.15521,
    "h": 319.6
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#7D348E
secondary
#78B36A
accent
#D6526B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D348E

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

Preview Lab → · Contrast checker → · Palette generator →

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