#7A198F#7A198F

#7A198F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.187 H 319.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7A198F
RGBrgb(122, 25, 143)
HSLhsl(289, 70%, 33%)
HSVhsv(289, 83%, 56%)
CMYKcmyk(14.7%, 82.5%, 0%, 43.9%)
CIE-LABlab(31.39, 55.53, -43.32)
CIE-LCHlch(31.39, 70.43, 322.04°)
OKLaboklab(43.33% 0.1424 -0.1218)
OKLCHoklch(43.33% 0.187 319.5)
XYZxyz(13.3310, 6.8167, 26.5948)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A198F #2E8F19
analogous
#3F198F #7A198F #8F1969
triadic
#7A198F #8F7A19 #198F7A
tetradic
#7A198F #8F3F19 #2E8F19 #19698F
square
#7A198F #8F3F19 #2E8F19 #19698F
split-complementary
#7A198F #698F19 #198F3F
monochromatic
#210727 #4E105B #7A198F #A622C3 #C344DE

Accessibility & contrast

On white

8.89
#7A198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A198F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A198F#FFFFFF#000000##FFFFFF
##7A198F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#7A3455
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a198f;
/* rgb */ color: rgb(122, 25, 143);
/* oklch */ color: oklch(43.3% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#a464b0',
    500: '#7a198f',
    950: '#000000',
  },
}
SCSS
$custom: #7a198f;
$custom-light: #a464b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a198f",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 289.322,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43334,
    "c": 0.18735,
    "h": 319.5
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#7A198F
secondary
#5ABF44
accent
#ED3B5A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A198F

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

Preview Lab → · Contrast checker → · Palette generator →

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