#7A3BB1#7A3BB1

#7A3BB1 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.181 H 305.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7A3BB1
RGBrgb(122, 59, 177)
HSLhsl(272, 50%, 46%)
HSVhsv(272, 67%, 69%)
CMYKcmyk(31.1%, 66.7%, 0%, 30.6%)
CIE-LABlab(38.62, 49.14, -52.19)
CIE-LCHlch(38.62, 71.69, 313.28°)
OKLaboklab(49.24% 0.1043 -0.148)
OKLCHoklch(49.24% 0.181 305.2)
XYZxyz(17.5241, 10.4399, 42.6784)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BB1 #72B13B
analogous
#3F3BB1 #7A3BB1 #B13BAD
triadic
#7A3BB1 #B17A3B #3BB17A
tetradic
#7A3BB1 #B13F3B #72B13B #3BADB1
square
#7A3BB1 #B13F3B #72B13B #3BADB1
split-complementary
#7A3BB1 #ADB13B #3BB13F
monochromatic
#3B1C55 #5A2C83 #7A3BB1 #985FCA #B68DD9

Accessibility & contrast

On white

6.80
#7A3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7A3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BB1
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BB1#FFFFFF#000000##FFFFFF
##7A3BB11.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#705571
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3bb1;
/* rgb */ color: rgb(122, 59, 177);
/* oklch */ color: oklch(49.2% 0.181 305.2);
Tailwind
colors: {
  custom: {
    50: '#a575c9',
    500: '#7a3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bb1;
$custom-light: #a575c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bb1",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 272.034,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.18107,
    "h": 305.2
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#7A3BB1
secondary
#A2C484
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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