#7A1AA0#7A1AA0

#7A1AA0 is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.7% C 0.201 H 313.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7A1AA0
RGBrgb(122, 26, 160)
HSLhsl(283, 72%, 36%)
HSVhsv(283, 84%, 63%)
CMYKcmyk(23.7%, 83.8%, 0%, 37.3%)
CIE-LABlab(32.73, 58.57, -51.54)
CIE-LCHlch(32.73, 78.02, 318.65°)
OKLaboklab(44.67% 0.1383 -0.1459)
OKLCHoklch(44.67% 0.201 313.5)
XYZxyz(14.7395, 7.4149, 33.9057)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1AA0 #40A01A
analogous
#371AA0 #7A1AA0 #A01A83
triadic
#7A1AA0 #A07A1A #1AA07A
tetradic
#7A1AA0 #A0371A #40A01A #1A83A0
square
#7A1AA0 #A0371A #40A01A #1A83A0
split-complementary
#7A1AA0 #83A01A #1AA037
monochromatic
#2A0937 #52116B #7A1AA0 #A223D5 #BA52E3

Accessibility & contrast

On white

8.46
#7A1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1AA0
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1AA0#FFFFFF#000000##FFFFFF
##7A1AA01.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#763D5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1aa0;
/* rgb */ color: rgb(122, 26, 160);
/* oklch */ color: oklch(44.7% 0.201 313.5);
Tailwind
colors: {
  custom: {
    50: '#a565bd',
    500: '#7a1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #7a1aa0;
$custom-light: #a565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1aa0",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 282.985,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.20103,
    "h": 313.5
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#7A1AA0
secondary
#72C550
accent
#EF396D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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