#7A34C1#7A34C1

#7A34C1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.207 H 301.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7A34C1
RGBrgb(122, 52, 193)
HSLhsl(270, 58%, 48%)
HSVhsv(270, 73%, 76%)
CMYKcmyk(36.8%, 73.1%, 0%, 24.3%)
CIE-LABlab(38.63, 56.26, -61.61)
CIE-LCHlch(38.63, 83.43, 312.40°)
OKLaboklab(49.61% 0.1091 -0.1757)
OKLCHoklch(49.61% 0.207 301.8)
XYZxyz(18.8774, 10.4437, 51.4631)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34C1 #7BC134
analogous
#3435C1 #7A34C1 #C034C1
triadic
#7A34C1 #C17A34 #34C17A
tetradic
#7A34C1 #C13435 #7BC134 #34C1C0
square
#7A34C1 #C13435 #7BC134 #34C1C0
split-complementary
#7A34C1 #C1C034 #35C134
monochromatic
#3D1A61 #5C2791 #7A34C1 #995ED4 #B78FE1

Accessibility & contrast

On white

6.80
#7A34C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7A34C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34C1
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34C1#FFFFFF#000000##FFFFFF
##7A34C11.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#6B5778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a34c1;
/* rgb */ color: rgb(122, 52, 193);
/* oklch */ color: oklch(49.6% 0.207 301.8);
Tailwind
colors: {
  custom: {
    50: '#a672d5',
    500: '#7a34c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a34c1;
$custom-light: #a672d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34c1",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 269.787,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49611,
    "c": 0.20678,
    "h": 301.8
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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