#7A3BB9#7A3BB9

#7A3BB9 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.190 H 303.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7A3BB9
RGBrgb(122, 59, 185)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 68%, 73%)
CMYKcmyk(34.1%, 68.1%, 0%, 27.5%)
CIE-LABlab(39.19, 51.08, -56.00)
CIE-LCHlch(39.19, 75.80, 312.37°)
OKLaboklab(49.82% 0.1033 -0.1592)
OKLCHoklch(49.82% 0.19 303)
XYZxyz(18.3449, 10.7683, 47.0016)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BB9 #7AB93B
analogous
#3B3BB9 #7A3BB9 #B93BB9
triadic
#7A3BB9 #B97A3B #3BB97A
tetradic
#7A3BB9 #B93B3B #7AB93B #3BB9B9
square
#7A3BB9 #B93B3B #7AB93B #3BB9B9
split-complementary
#7A3BB9 #B9B93B #3BB93B
monochromatic
#3D1D5C #5B2C8B #7A3BB9 #9964CD #B792DC

Accessibility & contrast

On white

6.66
#7A3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7A3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BB9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BB9#FFFFFF#000000##FFFFFF
##7A3BB91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a3bb9;
/* rgb */ color: rgb(122, 59, 185);
/* oklch */ color: oklch(49.8% 0.190 303.0);
Tailwind
colors: {
  custom: {
    50: '#a575cf',
    500: '#7a3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bb9;
$custom-light: #a575cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bb9",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 270,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.18982,
    "h": 303
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#7A3BB9
secondary
#A8C788
accent
#DB4D94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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