#7A3AB9#7A3AB9

#7A3AB9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.191 H 303.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7A3AB9
RGBrgb(122, 58, 185)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 69%, 73%)
CMYKcmyk(34.1%, 68.6%, 0%, 27.5%)
CIE-LABlab(39.01, 51.56, -56.28)
CIE-LCHlch(39.01, 76.33, 312.49°)
OKLaboklab(49.7% 0.1044 -0.1601)
OKLCHoklch(49.7% 0.191 303.1)
XYZxyz(18.2940, 10.6665, 46.9846)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3AB9 #79B93A
analogous
#3A3AB9 #7A3AB9 #B93AB8
triadic
#7A3AB9 #B97A3A #3AB97A
tetradic
#7A3AB9 #B93A3A #79B93A #3AB8B9
square
#7A3AB9 #B93A3A #79B93A #3AB8B9
split-complementary
#7A3AB9 #B8B93A #3AB93A
monochromatic
#3D1D5C #5B2B8A #7A3AB9 #9962CE #B791DC

Accessibility & contrast

On white

6.70
#7A3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7A3AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3AB9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3AB9#FFFFFF#000000##FFFFFF
##7A3AB91.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6D5775
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3ab9;
/* rgb */ color: rgb(122, 58, 185);
/* oklch */ color: oklch(49.7% 0.191 303.1);
Tailwind
colors: {
  custom: {
    50: '#a575cf',
    500: '#7a3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ab9;
$custom-light: #a575cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ab9",
  "rgb": {
    "r": 122,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 270.236,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.1911,
    "h": 303.1
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#7A3AB9
secondary
#A7C787
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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