#7A196C#7A196C

#7A196C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.159 H 334.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7A196C
RGBrgb(122, 25, 108)
HSLhsl(309, 66%, 29%)
HSVhsv(309, 80%, 48%)
CMYKcmyk(0%, 79.5%, 11.5%, 52.2%)
CIE-LABlab(29.20, 49.42, -24.77)
CIE-LCHlch(29.20, 55.28, 333.38°)
OKLaboklab(41.08% 0.1442 -0.0678)
OKLCHoklch(41.08% 0.159 334.8)
XYZxyz(11.0806, 5.9165, 14.7429)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A196C #197A27
analogous
#58197A #7A196C #7A193C
triadic
#7A196C #6C7A19 #196C7A
tetradic
#7A196C #7A5819 #197A27 #193C7A
square
#7A196C #7A5819 #197A27 #193C7A
split-complementary
#7A196C #3C7A19 #197A58
monochromatic
#190516 #470F3F #7A196C #AD2399 #D637BF

Accessibility & contrast

On white

9.62
#7A196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A196C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A196C#FFFFFF#000000##FFFFFF
##7A196C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#3C4A6A
Tritanopia (blue-blind)
#802241
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a196c;
/* rgb */ color: rgb(122, 25, 108);
/* oklch */ color: oklch(41.1% 0.159 334.8);
Tailwind
colors: {
  custom: {
    50: '#a46296',
    500: '#7a196c',
    950: '#000000',
  },
}
SCSS
$custom: #7a196c;
$custom-light: #a46296;
$custom-dark: #000000;
JSON
{
  "hex": "#7a196c",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 308.66,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41081,
    "c": 0.15929,
    "h": 334.8
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#7A196C
secondary
#40AF50
accent
#E9573F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A196C

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

Preview Lab → · Contrast checker → · Palette generator →

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