#7A197B#7A197B

#7A197B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.171 H 327.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7A197B
RGBrgb(122, 25, 123)
HSLhsl(299, 66%, 29%)
HSVhsv(299, 80%, 48%)
CMYKcmyk(0.8%, 79.7%, 0%, 51.8%)
CIE-LABlab(30.07, 51.90, -32.95)
CIE-LCHlch(30.07, 61.48, 327.59°)
OKLaboklab(41.98% 0.1444 -0.0914)
OKLCHoklch(41.98% 0.171 327.6)
XYZxyz(11.9487, 6.2638, 19.3147)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A197B #1A7B19
analogous
#49197B #7A197B #7B194B
triadic
#7A197B #7B7A19 #197B7A
tetradic
#7A197B #7B4919 #1A7B19 #194B7B
square
#7A197B #7B4919 #1A7B19 #194B7B
split-complementary
#7A197B #4B7B19 #197B49
monochromatic
#190519 #480F48 #7A197B #AC23AE #D538D7

Accessibility & contrast

On white

9.32
#7A197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A197B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A197B#FFFFFF#000000##FFFFFF
##7A197B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#7E2A4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a197b;
/* rgb */ color: rgb(122, 25, 123);
/* oklch */ color: oklch(42.0% 0.171 327.6);
Tailwind
colors: {
  custom: {
    50: '#a463a1',
    500: '#7a197b',
    950: '#000000',
  },
}
SCSS
$custom: #7a197b;
$custom-light: #a463a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a197b",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 299.388,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.1709,
    "h": 327.6
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#7A197B
secondary
#41AF40
accent
#E93F40
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A197B

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

Preview Lab → · Contrast checker → · Palette generator →

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