#7A3AB2#7A3AB2

#7A3AB2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.183 H 305.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7A3AB2
RGBrgb(122, 58, 178)
HSLhsl(272, 51%, 46%)
HSVhsv(272, 67%, 70%)
CMYKcmyk(31.5%, 67.4%, 0%, 30.2%)
CIE-LABlab(38.51, 49.88, -52.96)
CIE-LCHlch(38.51, 72.75, 313.28°)
OKLaboklab(49.18% 0.1053 -0.1503)
OKLCHoklch(49.18% 0.184 305)
XYZxyz(17.5732, 10.3781, 43.1882)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3AB2 #72B23A
analogous
#3E3AB2 #7A3AB2 #B23AAE
triadic
#7A3AB2 #B27A3A #3AB27A
tetradic
#7A3AB2 #B23E3A #72B23A #3AAEB2
square
#7A3AB2 #B23E3A #72B23A #3AAEB2
split-complementary
#7A3AB2 #AEB23A #3AB23E
monochromatic
#3B1C56 #5A2B84 #7A3AB2 #985FCB #B68DDA

Accessibility & contrast

On white

6.83
#7A3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A3AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3AB2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3AB2#FFFFFF#000000##FFFFFF
##7A3AB21.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#705571
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3ab2;
/* rgb */ color: rgb(122, 58, 178);
/* oklch */ color: oklch(49.2% 0.183 305.0);
Tailwind
colors: {
  custom: {
    50: '#a575ca',
    500: '#7a3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ab2;
$custom-light: #a575ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ab2",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 272,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.1835,
    "h": 305
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#7A3AB2
secondary
#A2C483
accent
#DA4D8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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