#7A196F#7A196F

#7A196F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.162 H 333.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7A196F
RGBrgb(122, 25, 111)
HSLhsl(307, 66%, 29%)
HSVhsv(307, 80%, 48%)
CMYKcmyk(0%, 79.5%, 9%, 52.2%)
CIE-LABlab(29.37, 49.90, -26.43)
CIE-LCHlch(29.37, 56.47, 332.09°)
OKLaboklab(41.25% 0.1443 -0.0726)
OKLCHoklch(41.25% 0.162 333.3)
XYZxyz(11.2430, 5.9815, 15.5983)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A196F #197A24
analogous
#55197A #7A196F #7A193F
triadic
#7A196F #6F7A19 #196F7A
tetradic
#7A196F #7A5519 #197A24 #193F7A
square
#7A196F #7A5519 #197A24 #193F7A
split-complementary
#7A196F #3F7A19 #197A55
monochromatic
#190517 #470F41 #7A196F #AD239D #D637C4

Accessibility & contrast

On white

9.56
#7A196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A196F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A196F#FFFFFF#000000##FFFFFF
##7A196F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#802443
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a196f;
/* rgb */ color: rgb(122, 25, 111);
/* oklch */ color: oklch(41.3% 0.162 333.3);
Tailwind
colors: {
  custom: {
    50: '#a46298',
    500: '#7a196f',
    950: '#000000',
  },
}
SCSS
$custom: #7a196f;
$custom-light: #a46298;
$custom-dark: #000000;
JSON
{
  "hex": "#7a196f",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 306.804,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.16154,
    "h": 333.3
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#7A196F
secondary
#40AF4D
accent
#E9523F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A196F

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

Preview Lab → · Contrast checker → · Palette generator →

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