#7A347C#7A347C

#7A347C is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.136 H 326.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7A347C
RGBrgb(122, 52, 124)
HSLhsl(298, 41%, 35%)
HSVhsv(298, 58%, 49%)
CMYKcmyk(1.6%, 58.1%, 0%, 51.4%)
CIE-LABlab(34.09, 41.01, -27.22)
CIE-LCHlch(34.09, 49.22, 326.43°)
OKLaboklab(44.9% 0.1133 -0.0751)
OKLCHoklch(44.9% 0.136 326.5)
XYZxyz(12.8919, 8.0495, 19.9395)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A347C #367C34
analogous
#56347C #7A347C #7C345A
triadic
#7A347C #7C7A34 #347C7A
tetradic
#7A347C #7C5634 #367C34 #345A7C
square
#7A347C #7C5634 #367C34 #345A7C
split-complementary
#7A347C #5A7C34 #347C56
monochromatic
#251026 #502251 #7A347C #A446A7 #BE6AC0

Accessibility & contrast

On white

8.05
#7A347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A347C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A347C#FFFFFF#000000##FFFFFF
##7A347C1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#42537A
Tritanopia (blue-blind)
#7D3D53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a347c;
/* rgb */ color: rgb(122, 52, 124);
/* oklch */ color: oklch(44.9% 0.136 326.5);
Tailwind
colors: {
  custom: {
    50: '#a370a2',
    500: '#7a347c',
    950: '#000000',
  },
}
SCSS
$custom: #7a347c;
$custom-light: #a370a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a347c",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 298.333,
    "s": 40.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.13588,
    "h": 326.5
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#7A347C
secondary
#65A963
accent
#D1575A
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7A347C

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

Preview Lab → · Contrast checker → · Palette generator →

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