#7A1794#7A1794

#7A1794 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.193 H 317.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7A1794
RGBrgb(122, 23, 148)
HSLhsl(288, 73%, 34%)
HSVhsv(288, 84%, 58%)
CMYKcmyk(17.6%, 84.5%, 0%, 42%)
CIE-LABlab(31.55, 57.04, -46.13)
CIE-LCHlch(31.55, 73.36, 321.04°)
OKLaboklab(43.57% 0.1429 -0.13)
OKLCHoklch(43.57% 0.193 317.7)
XYZxyz(13.6770, 6.8891, 28.6205)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1794 #319417
analogous
#3B1794 #7A1794 #94176F
triadic
#7A1794 #947A17 #17947A
tetradic
#7A1794 #943B17 #319417 #176F94
square
#7A1794 #943B17 #319417 #176F94
split-complementary
#7A1794 #6F9417 #17943B
monochromatic
#23072A #4E0F5F #7A1794 #A61FC9 #C144E2

Accessibility & contrast

On white

8.83
#7A1794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A1794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1794
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1794#FFFFFF#000000##FFFFFF
##7A17941.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#1C4D91
Tritanopia (blue-blind)
#793658
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1794;
/* rgb */ color: rgb(122, 23, 148);
/* oklch */ color: oklch(43.6% 0.193 317.7);
Tailwind
colors: {
  custom: {
    50: '#a563b4',
    500: '#7a1794',
    950: '#000000',
  },
}
SCSS
$custom: #7a1794;
$custom-light: #a563b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1794",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 287.52,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.19321,
    "h": 317.7
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#7A1794
secondary
#5EC344
accent
#F0385E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1794

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

Preview Lab → · Contrast checker → · Palette generator →

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