#7C348C#7C348C

#7C348C is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.153 H 320.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7C348C
RGBrgb(124, 52, 140)
HSLhsl(289, 46%, 38%)
HSVhsv(289, 63%, 55%)
CMYKcmyk(11.4%, 62.9%, 0%, 45.1%)
CIE-LABlab(35.27, 44.76, -35.23)
CIE-LCHlch(35.27, 56.97, 321.79°)
OKLaboklab(46.12% 0.1169 -0.0982)
OKLCHoklch(46.12% 0.153 320)
XYZxyz(14.2732, 8.6352, 25.7208)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C348C #448C34
analogous
#50348C #7C348C #8C3470
triadic
#7C348C #8C7C34 #348C7C
tetradic
#7C348C #8C5034 #448C34 #34708C
square
#7C348C #8C5034 #448C34 #34708C
split-complementary
#7C348C #708C34 #348C50
monochromatic
#2D1333 #54235F #7C348C #A445B9 #BA70CA

Accessibility & contrast

On white

7.70
#7C348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7C348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C348C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C348C#FFFFFF#000000##FFFFFF
##7C348C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#7D425B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c348c;
/* rgb */ color: rgb(124, 52, 140);
/* oklch */ color: oklch(46.1% 0.153 320.0);
Tailwind
colors: {
  custom: {
    50: '#a470ae',
    500: '#7c348c',
    950: '#000000',
  },
}
SCSS
$custom: #7c348c;
$custom-light: #a470ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c348c",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 289.091,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.15271,
    "h": 320
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#7C348C
secondary
#77B26A
accent
#D5526A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7C348C

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

Preview Lab → · Contrast checker → · Palette generator →

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