#7A1AA1#7A1AA1

#7A1AA1 is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.8% C 0.202 H 313.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7A1AA1
RGBrgb(122, 26, 161)
HSLhsl(283, 72%, 37%)
HSVhsv(283, 84%, 63%)
CMYKcmyk(24.2%, 83.9%, 0%, 36.9%)
CIE-LABlab(32.81, 58.77, -52.02)
CIE-LCHlch(32.81, 78.49, 318.49°)
OKLaboklab(44.75% 0.138 -0.1473)
OKLCHoklch(44.75% 0.202 313.1)
XYZxyz(14.8273, 7.4501, 34.3682)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1AA1 #41A11A
analogous
#371AA1 #7A1AA1 #A11A85
triadic
#7A1AA1 #A17A1A #1AA17A
tetradic
#7A1AA1 #A1371A #41A11A #1A85A1
square
#7A1AA1 #A1371A #41A11A #1A85A1
split-complementary
#7A1AA1 #85A11A #1AA137
monochromatic
#2A0938 #52116C #7A1AA1 #A223D6 #B952E3

Accessibility & contrast

On white

8.43
#7A1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1AA1
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1AA1#FFFFFF#000000##FFFFFF
##7A1AA11.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#763D60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1aa1;
/* rgb */ color: rgb(122, 26, 161);
/* oklch */ color: oklch(44.8% 0.202 313.1);
Tailwind
colors: {
  custom: {
    50: '#a565be',
    500: '#7a1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #7a1aa1;
$custom-light: #a565be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1aa1",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 282.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4475,
    "c": 0.20189,
    "h": 313.1
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#7A1AA1
secondary
#73C651
accent
#EF396D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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