#7A2194#7A2194

#7A2194 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.184 H 317.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7A2194
RGBrgb(122, 33, 148)
HSLhsl(286, 64%, 35%)
HSVhsv(286, 78%, 58%)
CMYKcmyk(17.6%, 77.7%, 0%, 42%)
CIE-LABlab(32.62, 53.94, -44.40)
CIE-LCHlch(32.62, 69.87, 320.54°)
OKLaboklab(44.32% 0.135 -0.125)
OKLCHoklch(44.32% 0.184 317.2)
XYZxyz(13.9144, 7.3640, 28.6997)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2194 #3B9421
analogous
#412194 #7A2194 #942174
triadic
#7A2194 #947A21 #21947A
tetradic
#7A2194 #944121 #3B9421 #217494
square
#7A2194 #944121 #3B9421 #217494
split-complementary
#7A2194 #749421 #219441
monochromatic
#270B30 #511662 #7A2194 #A32CC6 #BC56D9

Accessibility & contrast

On white

8.49
#7A2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7A2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2194
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2194#FFFFFF#000000##FFFFFF
##7A21941.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#234F91
Tritanopia (blue-blind)
#793A5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2194;
/* rgb */ color: rgb(122, 33, 148);
/* oklch */ color: oklch(44.3% 0.184 317.2);
Tailwind
colors: {
  custom: {
    50: '#a467b4',
    500: '#7a2194',
    950: '#000000',
  },
}
SCSS
$custom: #7a2194;
$custom-light: #a467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2194",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 286.435,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.18397,
    "h": 317.2
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#7A2194
secondary
#6CBD54
accent
#E74167
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2194

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

Preview Lab → · Contrast checker → · Palette generator →

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