#7A34BE#7A34BE

#7A34BE is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.204 H 302.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7A34BE
RGBrgb(122, 52, 190)
HSLhsl(270, 57%, 47%)
HSVhsv(270, 73%, 75%)
CMYKcmyk(35.8%, 72.6%, 0%, 25.5%)
CIE-LABlab(38.40, 55.54, -60.23)
CIE-LCHlch(38.40, 81.93, 312.68°)
OKLaboklab(49.38% 0.1097 -0.1716)
OKLCHoklch(49.38% 0.204 302.6)
XYZxyz(18.5461, 10.3112, 49.7184)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34BE #78BE34
analogous
#3534BE #7A34BE #BE34BD
triadic
#7A34BE #BE7A34 #34BE7A
tetradic
#7A34BE #BE3534 #78BE34 #34BDBE
square
#7A34BE #BE3534 #78BE34 #34BDBE
split-complementary
#7A34BE #BDBE34 #34BE35
monochromatic
#3C1A5E #5B278E #7A34BE #985DD3 #B78DE0

Accessibility & contrast

On white

6.86
#7A34BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A34BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34BE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34BE#FFFFFF#000000##FFFFFF
##7A34BE1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#6C5676
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a34be;
/* rgb */ color: rgb(122, 52, 190);
/* oklch */ color: oklch(49.4% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#a672d3',
    500: '#7a34be',
    950: '#000000',
  },
}
SCSS
$custom: #7a34be;
$custom-light: #a672d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34be",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 270.435,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.20366,
    "h": 302.6
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#7A34BE
secondary
#A6CA84
accent
#E04893
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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