#7A1C96#7A1C96

#7A1C96 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.191 H 316.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7A1C96
RGBrgb(122, 28, 150)
HSLhsl(286, 69%, 35%)
HSVhsv(286, 81%, 59%)
CMYKcmyk(18.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(32.19, 55.99, -46.32)
CIE-LCHlch(32.19, 72.67, 320.40°)
OKLaboklab(44.06% 0.1389 -0.1306)
OKLCHoklch(44.06% 0.191 316.8)
XYZxyz(13.9455, 7.1707, 29.4978)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C96 #38961C
analogous
#3D1C96 #7A1C96 #961C75
triadic
#7A1C96 #967A1C #1C967A
tetradic
#7A1C96 #963D1C #38961C #1C7596
square
#7A1C96 #963D1C #38961C #1C7596
split-complementary
#7A1C96 #75961C #1C963D
monochromatic
#26092F #501262 #7A1C96 #A426CA #BD4EDE

Accessibility & contrast

On white

8.63
#7A1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C96
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C96#FFFFFF#000000##FFFFFF
##7A1C961.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#1D4E93
Tritanopia (blue-blind)
#78395A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1c96;
/* rgb */ color: rgb(122, 28, 150);
/* oklch */ color: oklch(44.1% 0.191 316.8);
Tailwind
colors: {
  custom: {
    50: '#a565b6',
    500: '#7a1c96',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c96;
$custom-light: #a565b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c96",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 286.23,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.19064,
    "h": 316.8
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#7A1C96
secondary
#68C14D
accent
#EB3C65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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