#7A34C3#7A34C3

#7A34C3 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.209 H 301.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A34C3
RGBrgb(122, 52, 195)
HSLhsl(269, 58%, 48%)
HSVhsv(269, 73%, 76%)
CMYKcmyk(37.4%, 73.3%, 0%, 23.5%)
CIE-LABlab(38.78, 56.74, -62.52)
CIE-LCHlch(38.78, 84.43, 312.22°)
OKLaboklab(49.77% 0.1087 -0.1784)
OKLCHoklch(49.77% 0.209 301.4)
XYZxyz(19.1020, 10.5336, 52.6460)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34C3 #7DC334
analogous
#3435C3 #7A34C3 #C134C3
triadic
#7A34C3 #C37A34 #34C37A
tetradic
#7A34C3 #C33435 #7DC334 #34C3C1
square
#7A34C3 #C33435 #7DC334 #34C3C1
split-complementary
#7A34C3 #C3C134 #35C334
monochromatic
#3E1A62 #5C2793 #7A34C3 #9960D5 #B890E1

Accessibility & contrast

On white

6.76
#7A34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7A34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34C3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34C3#FFFFFF#000000##FFFFFF
##7A34C31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#6A5879
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a34c3;
/* rgb */ color: rgb(122, 52, 195);
/* oklch */ color: oklch(49.8% 0.209 301.4);
Tailwind
colors: {
  custom: {
    50: '#a772d6',
    500: '#7a34c3',
    950: '#000000',
  },
}
SCSS
$custom: #7a34c3;
$custom-light: #a772d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34c3",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 269.371,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.20886,
    "h": 301.4
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#7A34C3
secondary
#AACC87
accent
#E14796
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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