#7A3AA2#7A3AA2

#7A3AA2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.166 H 309.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7A3AA2
RGBrgb(122, 58, 162)
HSLhsl(277, 47%, 43%)
HSVhsv(277, 64%, 64%)
CMYKcmyk(24.7%, 64.2%, 0%, 36.5%)
CIE-LABlab(37.43, 46.11, -45.16)
CIE-LCHlch(37.43, 64.54, 315.60°)
OKLaboklab(48.06% 0.1065 -0.1274)
OKLCHoklch(48.06% 0.166 309.9)
XYZxyz(16.0594, 9.7726, 35.2157)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3AA2 #62A23A
analogous
#463AA2 #7A3AA2 #A23A96
triadic
#7A3AA2 #A27A3A #3AA27A
tetradic
#7A3AA2 #A2463A #62A23A #3A96A2
square
#7A3AA2 #A2463A #62A23A #3A96A2
split-complementary
#7A3AA2 #96A23A #3AA246
monochromatic
#361A48 #582A75 #7A3AA2 #9957C3 #B484D3

Accessibility & contrast

On white

7.11
#7A3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7A3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3AA2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3AA2#FFFFFF#000000##FFFFFF
##7A3AA21.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#754F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a3aa2;
/* rgb */ color: rgb(122, 58, 162);
/* oklch */ color: oklch(48.1% 0.166 309.9);
Tailwind
colors: {
  custom: {
    50: '#a474be',
    500: '#7a3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3aa2;
$custom-light: #a474be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3aa2",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 276.923,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.16606,
    "h": 309.9
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#7A3AA2
secondary
#94BD7B
accent
#D75184
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7A3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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