#7A34B9#7A34B9

#7A34B9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.198 H 303.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7A34B9
RGBrgb(122, 52, 185)
HSLhsl(272, 56%, 46%)
HSVhsv(272, 72%, 73%)
CMYKcmyk(34.1%, 71.9%, 0%, 27.5%)
CIE-LABlab(38.01, 54.36, -57.90)
CIE-LCHlch(38.01, 79.42, 313.19°)
OKLaboklab(48.99% 0.1106 -0.1648)
OKLCHoklch(48.99% 0.198 303.9)
XYZxyz(18.0090, 10.0964, 46.8896)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34B9 #73B934
analogous
#3834B9 #7A34B9 #B934B6
triadic
#7A34B9 #B97A34 #34B97A
tetradic
#7A34B9 #B93834 #73B934 #34B6B9
square
#7A34B9 #B93834 #73B934 #34B6B9
split-complementary
#7A34B9 #B6B934 #34B938
monochromatic
#3B1959 #5A2789 #7A34B9 #985AD1 #B689DE

Accessibility & contrast

On white

6.96
#7A34B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7A34B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34B9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34B9#FFFFFF#000000##FFFFFF
##7A34B91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#6E5473
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a34b9;
/* rgb */ color: rgb(122, 52, 185);
/* oklch */ color: oklch(49.0% 0.198 303.9);
Tailwind
colors: {
  custom: {
    50: '#a672cf',
    500: '#7a34b9',
    950: '#000000',
  },
}
SCSS
$custom: #7a34b9;
$custom-light: #a672cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34b9",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 271.579,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.19845,
    "h": 303.9
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#7A34B9
secondary
#A3C881
accent
#DF4890
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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