#7A3BB5#7A3BB5

#7A3BB5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.185 H 304.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7A3BB5
RGBrgb(122, 59, 181)
HSLhsl(271, 51%, 47%)
HSVhsv(271, 67%, 71%)
CMYKcmyk(32.6%, 67.4%, 0%, 29%)
CIE-LABlab(38.90, 50.11, -54.11)
CIE-LCHlch(38.90, 73.74, 312.80°)
OKLaboklab(49.53% 0.1038 -0.1537)
OKLCHoklch(49.53% 0.185 304)
XYZxyz(17.9286, 10.6018, 44.8089)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BB5 #76B53B
analogous
#3D3BB5 #7A3BB5 #B53BB3
triadic
#7A3BB5 #B57A3B #3BB57A
tetradic
#7A3BB5 #B53D3B #76B53B #3BB3B5
square
#7A3BB5 #B53D3B #76B53B #3BB3B5
split-complementary
#7A3BB5 #B3B53B #3BB53D
monochromatic
#3C1D59 #5B2C87 #7A3BB5 #9862CC #B690DB

Accessibility & contrast

On white

6.73
#7A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7A3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BB5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BB5#FFFFFF#000000##FFFFFF
##7A3BB51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0C5CB2
Tritanopia (blue-blind)
#6F5673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3bb5;
/* rgb */ color: rgb(122, 59, 181);
/* oklch */ color: oklch(49.5% 0.185 304.0);
Tailwind
colors: {
  custom: {
    50: '#a575cc',
    500: '#7a3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bb5;
$custom-light: #a575cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bb5",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 270.984,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.18545,
    "h": 304
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#7A3BB5
secondary
#A5C686
accent
#DA4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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