#7A1AA7#7A1AA7

#7A1AA7 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.207 H 311.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7A1AA7
RGBrgb(122, 26, 167)
HSLhsl(281, 73%, 38%)
HSVhsv(281, 84%, 65%)
CMYKcmyk(26.9%, 84.4%, 0%, 34.5%)
CIE-LABlab(33.28, 59.99, -54.88)
CIE-LCHlch(33.28, 81.31, 317.55°)
OKLaboklab(45.22% 0.1365 -0.1557)
OKLCHoklch(45.22% 0.207 311.2)
XYZxyz(15.3691, 7.6668, 37.2219)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1AA7 #47A71A
analogous
#331AA7 #7A1AA7 #A71A8D
triadic
#7A1AA7 #A77A1A #1AA77A
tetradic
#7A1AA7 #A7331A #47A71A #1A8DA7
square
#7A1AA7 #A7331A #47A71A #1A8DA7
split-complementary
#7A1AA7 #8DA71A #1AA733
monochromatic
#2D0A3D #531272 #7A1AA7 #A122DC #B757E5

Accessibility & contrast

On white

8.29
#7A1AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A1AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1AA7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1AA7#FFFFFF#000000##FFFFFF
##7A1AA71.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#744063
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a1aa7;
/* rgb */ color: rgb(122, 26, 167);
/* oklch */ color: oklch(45.2% 0.207 311.2);
Tailwind
colors: {
  custom: {
    50: '#a665c2',
    500: '#7a1aa7',
    950: '#000000',
  },
}
SCSS
$custom: #7a1aa7;
$custom-light: #a665c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1aa7",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 280.851,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.2071,
    "h": 311.2
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#7A1AA7
secondary
#7AC855
accent
#F03873
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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