#7B197A#7B197A

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

Color values

HEX#7B197A
RGBrgb(123, 25, 122)
HSLhsl(301, 66%, 29%)
HSVhsv(301, 80%, 48%)
CMYKcmyk(0%, 79.7%, 0.8%, 51.8%)
CIE-LABlab(30.19, 51.95, -32.12)
CIE-LCHlch(30.19, 61.08, 328.28°)
OKLaboklab(42.08% 0.1455 -0.089)
OKLCHoklch(42.08% 0.171 328.6)
XYZxyz(12.0287, 6.3123, 18.9934)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B197A #197B1A
analogous
#4B197B #7B197A #7B1949
triadic
#7B197A #7A7B19 #197A7B
tetradic
#7B197A #7B4B19 #197B1A #19497B
square
#7B197A #7B4B19 #197B1A #19497B
split-complementary
#7B197A #497B19 #197B4B
monochromatic
#190519 #480F48 #7B197A #AE23AC #D738D5

Accessibility & contrast

On white

9.28
#7B197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B197A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B197A#FFFFFF#000000##FFFFFF
##7B197A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7D
Deuteranopia (green-blind)
#364B78
Tritanopia (blue-blind)
#7F2949
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b197a;
/* rgb */ color: rgb(123, 25, 122);
/* oklch */ color: oklch(42.1% 0.171 328.6);
Tailwind
colors: {
  custom: {
    50: '#a563a1',
    500: '#7b197a',
    950: '#000000',
  },
}
SCSS
$custom: #7b197a;
$custom-light: #a563a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b197a",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 300.612,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.17058,
    "h": 328.6
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#7B197A
secondary
#40AF41
accent
#E9403F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B197A

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

Preview Lab → · Contrast checker → · Palette generator →

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