#7A3AB5#7A3AB5

#7A3AB5 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.187 H 304.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7A3AB5
RGBrgb(122, 58, 181)
HSLhsl(271, 51%, 47%)
HSVhsv(271, 68%, 71%)
CMYKcmyk(32.6%, 68%, 0%, 29%)
CIE-LABlab(38.73, 50.60, -54.39)
CIE-LCHlch(38.73, 74.29, 312.93°)
OKLaboklab(49.4% 0.1049 -0.1545)
OKLCHoklch(49.4% 0.187 304.2)
XYZxyz(17.8777, 10.4999, 44.7920)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3AB5 #75B53A
analogous
#3D3AB5 #7A3AB5 #B53AB2
triadic
#7A3AB5 #B57A3A #3AB57A
tetradic
#7A3AB5 #B53D3A #75B53A #3AB2B5
square
#7A3AB5 #B53D3A #75B53A #3AB2B5
split-complementary
#7A3AB5 #B2B53A #3AB53D
monochromatic
#3C1C58 #5B2B87 #7A3AB5 #9860CC #B68EDB

Accessibility & contrast

On white

6.77
#7A3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7A3AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3AB5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3AB5#FFFFFF#000000##FFFFFF
##7A3AB51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#085BB2
Tritanopia (blue-blind)
#6F5673
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3ab5;
/* rgb */ color: rgb(122, 58, 181);
/* oklch */ color: oklch(49.4% 0.187 304.2);
Tailwind
colors: {
  custom: {
    50: '#a575cc',
    500: '#7a3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ab5;
$custom-light: #a575cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ab5",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 271.22,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.494,
    "c": 0.18676,
    "h": 304.2
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#7A3AB5
secondary
#A4C685
accent
#DB4D91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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