#7A34AE#7A34AE

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

Color values

HEX#7A34AE
RGBrgb(122, 52, 174)
HSLhsl(274, 54%, 44%)
HSVhsv(274, 70%, 68%)
CMYKcmyk(29.9%, 70.1%, 0%, 31.8%)
CIE-LABlab(37.21, 51.78, -52.70)
CIE-LCHlch(37.21, 73.88, 314.50°)
OKLaboklab(48.16% 0.1123 -0.1495)
OKLCHoklch(48.16% 0.187 306.9)
XYZxyz(16.8924, 9.6497, 41.0089)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34AE #68AE34
analogous
#3D34AE #7A34AE #AE34A5
triadic
#7A34AE #AE7A34 #34AE7A
tetradic
#7A34AE #AE3D34 #68AE34 #34A5AE
square
#7A34AE #AE3D34 #68AE34 #34A5AE
split-complementary
#7A34AE #A5AE34 #34AE3D
monochromatic
#381850 #59267F #7A34AE #9853CC #B583DA

Accessibility & contrast

On white

7.17
#7A34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7A34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A34AE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34AE#FFFFFF#000000##FFFFFF
##7A34AE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0E58AB
Tritanopia (blue-blind)
#714F6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a34ae;
/* rgb */ color: rgb(122, 52, 174);
/* oklch */ color: oklch(48.2% 0.187 306.9);
Tailwind
colors: {
  custom: {
    50: '#a571c7',
    500: '#7a34ae',
    950: '#000000',
  },
}
SCSS
$custom: #7a34ae;
$custom-light: #a571c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34ae",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 274.426,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.18698,
    "h": 306.9
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#7A34AE
secondary
#9AC37B
accent
#DD4A89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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