#7A3BB3#7A3BB3

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

Color values

HEX#7A3BB3
RGBrgb(122, 59, 179)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 67%, 70%)
CMYKcmyk(31.8%, 67%, 0%, 29.8%)
CIE-LABlab(38.76, 49.62, -53.15)
CIE-LCHlch(38.76, 72.72, 313.03°)
OKLaboklab(49.38% 0.1041 -0.1509)
OKLCHoklch(49.38% 0.183 304.6)
XYZxyz(17.7249, 10.5203, 43.7359)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BB3 #74B33B
analogous
#3E3BB3 #7A3BB3 #B33BB0
triadic
#7A3BB3 #B37A3B #3BB37A
tetradic
#7A3BB3 #B33E3B #74B33B #3BB0B3
square
#7A3BB3 #B33E3B #74B33B #3BB0B3
split-complementary
#7A3BB3 #B0B33B #3BB33E
monochromatic
#3B1D57 #5B2C85 #7A3BB3 #9860CB #B68EDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A3BB3#FFFFFF#000000##FFFFFF
##7A3BB31.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)
#005AB7
Deuteranopia (green-blind)
#135BB0
Tritanopia (blue-blind)
#6F5672
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3bb3;
/* rgb */ color: rgb(122, 59, 179);
/* oklch */ color: oklch(49.4% 0.183 304.6);
Tailwind
colors: {
  custom: {
    50: '#a575ca',
    500: '#7a3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bb3;
$custom-light: #a575ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bb3",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 271.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.18326,
    "h": 304.6
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#7A3BB3
secondary
#A3C585
accent
#DA4E90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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