#7C347E#7C347E

#7C347E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.139 H 326.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7C347E
RGBrgb(124, 52, 126)
HSLhsl(298, 42%, 35%)
HSVhsv(298, 59%, 49%)
CMYKcmyk(1.6%, 58.7%, 0%, 50.6%)
CIE-LABlab(34.49, 41.97, -27.80)
CIE-LCHlch(34.49, 50.34, 326.48°)
OKLaboklab(45.3% 0.116 -0.0767)
OKLCHoklch(45.3% 0.139 326.5)
XYZxyz(13.3058, 8.2482, 20.6258)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C347E #367E34
analogous
#57347E #7C347E #7E345B
triadic
#7C347E #7E7C34 #347E7C
tetradic
#7C347E #7E5734 #367E34 #345B7E
square
#7C347E #7E5734 #367E34 #345B7E
split-complementary
#7C347E #5B7E34 #347E57
monochromatic
#271027 #512253 #7C347E #A746A9 #BF6BC2

Accessibility & contrast

On white

7.93
#7C347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7C347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C347E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C347E#FFFFFF#000000##FFFFFF
##7C347E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#43547C
Tritanopia (blue-blind)
#7F3D54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c347e;
/* rgb */ color: rgb(124, 52, 126);
/* oklch */ color: oklch(45.3% 0.139 326.5);
Tailwind
colors: {
  custom: {
    50: '#a470a3',
    500: '#7c347e',
    950: '#000000',
  },
}
SCSS
$custom: #7c347e;
$custom-light: #a470a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c347e",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 298.378,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.13902,
    "h": 326.5
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#7C347E
secondary
#66AA64
accent
#D1565A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7C347E

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

Preview Lab → · Contrast checker → · Palette generator →

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