#7A3AAA#7A3AAA

#7A3AAA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.175 H 307.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7A3AAA
RGBrgb(122, 58, 170)
HSLhsl(274, 49%, 45%)
HSVhsv(274, 66%, 67%)
CMYKcmyk(28.2%, 65.9%, 0%, 33.3%)
CIE-LABlab(37.96, 47.98, -49.10)
CIE-LCHlch(37.96, 68.65, 314.34°)
OKLaboklab(48.61% 0.106 -0.1389)
OKLCHoklch(48.61% 0.175 307.3)
XYZxyz(16.7933, 10.0662, 39.0807)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3AAA #6AAA3A
analogous
#423AAA #7A3AAA #AA3AA2
triadic
#7A3AAA #AA7A3A #3AAA7A
tetradic
#7A3AAA #AA423A #6AAA3A #3AA2AA
square
#7A3AAA #AA423A #6AAA3A #3AA2AA
split-complementary
#7A3AAA #A2AA3A #3AAA42
monochromatic
#391B4F #592A7C #7A3AAA #985AC7 #B588D6

Accessibility & contrast

On white

6.97
#7A3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7A3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3AAA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3AAA#FFFFFF#000000##FFFFFF
##7A3AAA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#225AA7
Tritanopia (blue-blind)
#72526D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a3aaa;
/* rgb */ color: rgb(122, 58, 170);
/* oklch */ color: oklch(48.6% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#a474c4',
    500: '#7a3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7a3aaa;
$custom-light: #a474c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3aaa",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 274.286,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.17478,
    "h": 307.3
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#7A3AAA
secondary
#9BC17F
accent
#D94F8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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