#7A197C#7A197C

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

Color values

HEX#7A197C
RGBrgb(122, 25, 124)
HSLhsl(299, 66%, 29%)
HSVhsv(299, 80%, 49%)
CMYKcmyk(1.6%, 79.8%, 0%, 51.4%)
CIE-LABlab(30.13, 52.08, -33.48)
CIE-LCHlch(30.13, 61.91, 327.26°)
OKLaboklab(42.05% 0.1443 -0.093)
OKLCHoklch(42.05% 0.172 327.2)
XYZxyz(12.0116, 6.2889, 19.6461)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A197C #1B7C19
analogous
#49197C #7A197C #7C194D
triadic
#7A197C #7C7A19 #197C7A
tetradic
#7A197C #7C4919 #1B7C19 #194D7C
square
#7A197C #7C4919 #1B7C19 #194D7C
split-complementary
#7A197C #4D7C19 #197C49
monochromatic
#190519 #480F49 #7A197C #AC23AF #D438D7

Accessibility & contrast

On white

9.30
#7A197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A197C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A197C#FFFFFF#000000##FFFFFF
##7A197C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a197c;
/* rgb */ color: rgb(122, 25, 124);
/* oklch */ color: oklch(42.0% 0.172 327.2);
Tailwind
colors: {
  custom: {
    50: '#a463a2',
    500: '#7a197c',
    950: '#000000',
  },
}
SCSS
$custom: #7a197c;
$custom-light: #a463a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a197c",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 298.788,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42045,
    "c": 0.1717,
    "h": 327.2
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#7A197C
secondary
#43B040
accent
#E93E42
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A197C

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

Preview Lab → · Contrast checker → · Palette generator →

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