#7C348E#7C348E

#7C348E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.155 H 319.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7C348E
RGBrgb(124, 52, 142)
HSLhsl(288, 46%, 38%)
HSVhsv(288, 63%, 56%)
CMYKcmyk(12.7%, 63.4%, 0%, 44.3%)
CIE-LABlab(35.39, 45.18, -36.27)
CIE-LCHlch(35.39, 57.94, 321.24°)
OKLaboklab(46.24% 0.117 -0.1013)
OKLCHoklch(46.24% 0.155 319.1)
XYZxyz(14.4220, 8.6947, 26.5045)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C348E #468E34
analogous
#4F348E #7C348E #8E3473
triadic
#7C348E #8E7C34 #348E7C
tetradic
#7C348E #8E4F34 #468E34 #34738E
square
#7C348E #8E4F34 #468E34 #34738E
split-complementary
#7C348E #738E34 #348E4F
monochromatic
#2E1334 #552461 #7C348E #A344BB #B971CB

Accessibility & contrast

On white

7.67
#7C348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7C348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C348E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C348E#FFFFFF#000000##FFFFFF
##7C348E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#7C435C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c348e;
/* rgb */ color: rgb(124, 52, 142);
/* oklch */ color: oklch(46.2% 0.155 319.1);
Tailwind
colors: {
  custom: {
    50: '#a570af',
    500: '#7c348e',
    950: '#000000',
  },
}
SCSS
$custom: #7c348e;
$custom-light: #a570af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c348e",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 288,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.15472,
    "h": 319.1
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#7C348E
secondary
#79B36A
accent
#D6526C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7C348E

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

Preview Lab → · Contrast checker → · Palette generator →

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