#7A196D#7A196D

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

Color values

HEX#7A196D
RGBrgb(122, 25, 109)
HSLhsl(308, 66%, 29%)
HSVhsv(308, 80%, 48%)
CMYKcmyk(0%, 79.5%, 10.7%, 52.2%)
CIE-LABlab(29.26, 49.58, -25.32)
CIE-LCHlch(29.26, 55.67, 332.94°)
OKLaboklab(41.14% 0.1442 -0.0694)
OKLCHoklch(41.14% 0.16 334.3)
XYZxyz(11.1341, 5.9380, 15.0248)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A196D #197A26
analogous
#57197A #7A196D #7A193D
triadic
#7A196D #6D7A19 #196D7A
tetradic
#7A196D #7A5719 #197A26 #193D7A
square
#7A196D #7A5719 #197A26 #193D7A
split-complementary
#7A196D #3D7A19 #197A57
monochromatic
#190517 #470F40 #7A196D #AD239A #D637C1

Accessibility & contrast

On white

9.60
#7A196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A196D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A196D#FFFFFF#000000##FFFFFF
##7A196D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#802242
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a196d;
/* rgb */ color: rgb(122, 25, 109);
/* oklch */ color: oklch(41.1% 0.160 334.3);
Tailwind
colors: {
  custom: {
    50: '#a46297',
    500: '#7a196d',
    950: '#000000',
  },
}
SCSS
$custom: #7a196d;
$custom-light: #a46297;
$custom-dark: #000000;
JSON
{
  "hex": "#7a196d",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 308.041,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.16003,
    "h": 334.3
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#7A196D
secondary
#40AF4F
accent
#E9563F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A196D

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

Preview Lab → · Contrast checker → · Palette generator →

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