#7A34C5#7A34C5

#7A34C5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.211 H 300.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7A34C5
RGBrgb(122, 52, 197)
HSLhsl(269, 58%, 49%)
HSVhsv(269, 74%, 77%)
CMYKcmyk(38.1%, 73.6%, 0%, 22.7%)
CIE-LABlab(38.94, 57.22, -63.43)
CIE-LCHlch(38.94, 85.43, 312.05°)
OKLaboklab(49.93% 0.1082 -0.181)
OKLCHoklch(49.93% 0.211 300.9)
XYZxyz(19.3296, 10.6246, 53.8449)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34C5 #7FC534
analogous
#3436C5 #7A34C5 #C334C5
triadic
#7A34C5 #C57A34 #34C57A
tetradic
#7A34C5 #C53436 #7FC534 #34C5C3
square
#7A34C5 #C53436 #7FC534 #34C5C3
split-complementary
#7A34C5 #C5C334 #36C534
monochromatic
#3E1A64 #5C2795 #7A34C5 #9961D5 #B891E2

Accessibility & contrast

On white

6.72
#7A34C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7A34C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34C5
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34C5#FFFFFF#000000##FFFFFF
##7A34C51.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#69597A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a34c5;
/* rgb */ color: rgb(122, 52, 197);
/* oklch */ color: oklch(49.9% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#a772d8',
    500: '#7a34c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a34c5;
$custom-light: #a772d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34c5",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 268.966,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.21093,
    "h": 300.9
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#7A34C5
secondary
#ACCD88
accent
#E14697
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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