#7A34C0#7A34C0

#7A34C0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.206 H 302.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7A34C0
RGBrgb(122, 52, 192)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 75%)
CMYKcmyk(36.5%, 72.9%, 0%, 24.7%)
CIE-LABlab(38.55, 56.02, -61.15)
CIE-LCHlch(38.55, 82.93, 312.50°)
OKLaboklab(49.53% 0.1093 -0.1743)
OKLCHoklch(49.53% 0.206 302.1)
XYZxyz(18.7662, 10.3993, 50.8775)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34C0 #7AC034
analogous
#3434C0 #7A34C0 #C034C0
triadic
#7A34C0 #C07A34 #34C07A
tetradic
#7A34C0 #C03434 #7AC034 #34C0C0
square
#7A34C0 #C03434 #7AC034 #34C0C0
split-complementary
#7A34C0 #C0C034 #34C034
monochromatic
#3D1A60 #5B2790 #7A34C0 #995ED3 #B78EE0

Accessibility & contrast

On white

6.82
#7A34C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A34C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34C0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34C0#FFFFFF#000000##FFFFFF
##7A34C01.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#6B5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a34c0;
/* rgb */ color: rgb(122, 52, 192);
/* oklch */ color: oklch(49.5% 0.206 302.1);
Tailwind
colors: {
  custom: {
    50: '#a672d4',
    500: '#7a34c0',
    950: '#000000',
  },
}
SCSS
$custom: #7a34c0;
$custom-light: #a672d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34c0",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 270,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.20574,
    "h": 302.1
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#7A34C0
secondary
#A8CB85
accent
#E14794
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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