#7A3BB7#7A3BB7

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

Color values

HEX#7A3BB7
RGBrgb(122, 59, 183)
HSLhsl(270, 51%, 47%)
HSVhsv(270, 68%, 72%)
CMYKcmyk(33.3%, 67.8%, 0%, 28.2%)
CIE-LABlab(39.04, 50.59, -55.06)
CIE-LCHlch(39.04, 74.77, 312.58°)
OKLaboklab(49.67% 0.1036 -0.1564)
OKLCHoklch(49.67% 0.188 303.5)
XYZxyz(18.1353, 10.6844, 45.8975)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BB7 #78B73B
analogous
#3C3BB7 #7A3BB7 #B73BB6
triadic
#7A3BB7 #B77A3B #3BB77A
tetradic
#7A3BB7 #B73C3B #78B73B #3BB6B7
square
#7A3BB7 #B73C3B #78B73B #3BB6B7
split-complementary
#7A3BB7 #B6B73B #3BB73C
monochromatic
#3C1D5A #5B2C89 #7A3BB7 #9863CD #B791DC

Accessibility & contrast

On white

6.69
#7A3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7A3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BB7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BB7#FFFFFF#000000##FFFFFF
##7A3BB71.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#6E5774
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3bb7;
/* rgb */ color: rgb(122, 59, 183);
/* oklch */ color: oklch(49.7% 0.188 303.5);
Tailwind
colors: {
  custom: {
    50: '#a575cd',
    500: '#7a3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bb7;
$custom-light: #a575cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bb7",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 270.484,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.18764,
    "h": 303.5
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#7A3BB7
secondary
#A6C687
accent
#DB4D93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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