#7A1AB3#7A1AB3

#7A1AB3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.2% C 0.218 H 307.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7A1AB3
RGBrgb(122, 26, 179)
HSLhsl(278, 75%, 40%)
HSVhsv(278, 85%, 70%)
CMYKcmyk(31.8%, 85.5%, 0%, 29.8%)
CIE-LABlab(34.25, 62.48, -60.47)
CIE-LCHlch(34.25, 86.95, 315.94°)
OKLaboklab(46.2% 0.1331 -0.1722)
OKLCHoklch(46.2% 0.218 307.7)
XYZxyz(16.5304, 8.1313, 43.3378)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1AB3 #53B31A
analogous
#2D1AB3 #7A1AB3 #B31A9F
triadic
#7A1AB3 #B37A1A #1AB37A
tetradic
#7A1AB3 #B32D1A #53B31A #1A9FB3
square
#7A1AB3 #B32D1A #53B31A #1A9FB3
split-complementary
#7A1AB3 #9FB31A #1AB32D
monochromatic
#310A48 #56127E #7A1AB3 #9C2AE0 #B560E8

Accessibility & contrast

On white

8.00
#7A1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7A1AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1AB3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1AB3#FFFFFF#000000##FFFFFF
##7A1AB31.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#70466A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a1ab3;
/* rgb */ color: rgb(122, 26, 179);
/* oklch */ color: oklch(46.2% 0.218 307.7);
Tailwind
colors: {
  custom: {
    50: '#a666cb',
    500: '#7a1ab3',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ab3;
$custom-light: #a666cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ab3",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 277.647,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.21761,
    "h": 307.7
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#7A1AB3
secondary
#86CC5D
accent
#F1377C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A1AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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