#7C347C#7C347C

#7C347C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.2% C 0.137 H 327.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7C347C
RGBrgb(124, 52, 124)
HSLhsl(300, 41%, 35%)
HSVhsv(300, 58%, 49%)
CMYKcmyk(0%, 58.1%, 0%, 51.4%)
CIE-LABlab(34.39, 41.59, -26.72)
CIE-LCHlch(34.39, 49.43, 327.28°)
OKLaboklab(45.19% 0.1157 -0.0736)
OKLCHoklch(45.19% 0.137 327.5)
XYZxyz(13.1781, 8.1971, 19.9530)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C347C #347C34
analogous
#58347C #7C347C #7C3458
triadic
#7C347C #7C7C34 #347C7C
tetradic
#7C347C #7C5834 #347C34 #34587C
square
#7C347C #7C5834 #347C34 #34587C
split-complementary
#7C347C #587C34 #347C58
monochromatic
#261026 #512251 #7C347C #A746A7 #C06AC0

Accessibility & contrast

On white

7.96
#7C347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7C347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C347C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C347C#FFFFFF#000000##FFFFFF
##7C347C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#803C53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c347c;
/* rgb */ color: rgb(124, 52, 124);
/* oklch */ color: oklch(45.2% 0.137 327.5);
Tailwind
colors: {
  custom: {
    50: '#a470a2',
    500: '#7c347c',
    950: '#000000',
  },
}
SCSS
$custom: #7c347c;
$custom-light: #a470a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c347c",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 300,
    "s": 40.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.13713,
    "h": 327.5
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#7C347C
secondary
#63A963
accent
#D15757
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7C347C

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

Preview Lab → · Contrast checker → · Palette generator →

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