#7A34AF#7A34AF

#7A34AF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.188 H 306.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7A34AF
RGBrgb(122, 52, 175)
HSLhsl(274, 54%, 45%)
HSVhsv(274, 70%, 69%)
CMYKcmyk(30.3%, 70.3%, 0%, 31.4%)
CIE-LABlab(37.28, 52.01, -53.18)
CIE-LCHlch(37.28, 74.38, 314.36°)
OKLaboklab(48.23% 0.1122 -0.1509)
OKLCHoklch(48.23% 0.188 306.6)
XYZxyz(16.9902, 9.6889, 41.5242)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34AF #69AF34
analogous
#3C34AF #7A34AF #AF34A7
triadic
#7A34AF #AF7A34 #34AF7A
tetradic
#7A34AF #AF3C34 #69AF34 #34A7AF
square
#7A34AF #AF3C34 #69AF34 #34A7AF
split-complementary
#7A34AF #A7AF34 #34AF3C
monochromatic
#381851 #592680 #7A34AF #9854CC #B583DA

Accessibility & contrast

On white

7.15
#7A34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7A34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A34AF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34AF#FFFFFF#000000##FFFFFF
##7A34AF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0B58AC
Tritanopia (blue-blind)
#71506E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a34af;
/* rgb */ color: rgb(122, 52, 175);
/* oklch */ color: oklch(48.2% 0.188 306.6);
Tailwind
colors: {
  custom: {
    50: '#a571c8',
    500: '#7a34af',
    950: '#000000',
  },
}
SCSS
$custom: #7a34af;
$custom-light: #a571c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34af",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 274.146,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4823,
    "c": 0.18802,
    "h": 306.6
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#7A34AF
secondary
#9AC47B
accent
#DE4A8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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