#7A196B#7A196B

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

Color values

HEX#7A196B
RGBrgb(122, 25, 107)
HSLhsl(309, 66%, 29%)
HSVhsv(309, 80%, 48%)
CMYKcmyk(0%, 79.5%, 12.3%, 52.2%)
CIE-LABlab(29.15, 49.27, -24.21)
CIE-LCHlch(29.15, 54.89, 333.83°)
OKLaboklab(41.03% 0.1441 -0.0662)
OKLCHoklch(41.03% 0.159 335.3)
XYZxyz(11.0277, 5.8954, 14.4642)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A196B #197A28
analogous
#59197A #7A196B #7A193B
triadic
#7A196B #6B7A19 #196B7A
tetradic
#7A196B #7A5919 #197A28 #193B7A
square
#7A196B #7A5919 #197A28 #193B7A
split-complementary
#7A196B #3B7A19 #197A59
monochromatic
#190516 #470F3E #7A196B #AD2398 #D637BE

Accessibility & contrast

On white

9.64
#7A196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A196B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A196B#FFFFFF#000000##FFFFFF
##7A196B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#802141
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a196b;
/* rgb */ color: rgb(122, 25, 107);
/* oklch */ color: oklch(41.0% 0.159 335.3);
Tailwind
colors: {
  custom: {
    50: '#a46295',
    500: '#7a196b',
    950: '#000000',
  },
}
SCSS
$custom: #7a196b;
$custom-light: #a46295;
$custom-dark: #000000;
JSON
{
  "hex": "#7a196b",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 309.278,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.15855,
    "h": 335.3
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#7A196B
secondary
#40AF51
accent
#E9593F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A196B

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

Preview Lab → · Contrast checker → · Palette generator →

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