#7A3BAD#7A3BAD

#7A3BAD is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.177 H 306.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7A3BAD
RGBrgb(122, 59, 173)
HSLhsl(273, 49%, 45%)
HSVhsv(273, 66%, 68%)
CMYKcmyk(29.5%, 65.9%, 0%, 32.2%)
CIE-LABlab(38.35, 48.19, -50.26)
CIE-LCHlch(38.35, 69.63, 313.79°)
OKLaboklab(48.95% 0.1046 -0.1424)
OKLCHoklch(48.95% 0.177 306.3)
XYZxyz(17.1312, 10.2828, 40.6093)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BAD #6EAD3B
analogous
#413BAD #7A3BAD #AD3BA7
triadic
#7A3BAD #AD7A3B #3BAD7A
tetradic
#7A3BAD #AD413B #6EAD3B #3BA7AD
square
#7A3BAD #AD413B #6EAD3B #3BA7AD
split-complementary
#7A3BAD #A7AD3B #3BAD41
monochromatic
#3A1C52 #5A2B7F #7A3BAD #985DC8 #B58BD7

Accessibility & contrast

On white

6.87
#7A3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BAD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BAD#FFFFFF#000000##FFFFFF
##7A3BAD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#1F5BAA
Tritanopia (blue-blind)
#71536F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a3bad;
/* rgb */ color: rgb(122, 59, 173);
/* oklch */ color: oklch(48.9% 0.177 306.3);
Tailwind
colors: {
  custom: {
    50: '#a475c6',
    500: '#7a3bad',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bad;
$custom-light: #a475c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bad",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 273.158,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.17668,
    "h": 306.3
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#7A3BAD
secondary
#9FC282
accent
#D94F8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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