#7B197C#7B197C

#7B197C is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.172 H 327.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7B197C
RGBrgb(123, 25, 124)
HSLhsl(299, 66%, 29%)
HSVhsv(299, 80%, 49%)
CMYKcmyk(0.8%, 79.8%, 0%, 51.4%)
CIE-LABlab(30.31, 52.29, -33.19)
CIE-LCHlch(30.31, 61.93, 327.60°)
OKLaboklab(42.21% 0.1455 -0.0921)
OKLCHoklch(42.21% 0.172 327.7)
XYZxyz(12.1539, 6.3623, 19.6528)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B197C #1A7C19
analogous
#4A197C #7B197C #7C194C
triadic
#7B197C #7C7B19 #197C7B
tetradic
#7B197C #7C4A19 #1A7C19 #194C7C
square
#7B197C #7C4A19 #1A7C19 #194C7C
split-complementary
#7B197C #4C7C19 #197C4A
monochromatic
#190519 #480F49 #7B197C #AE23AF #D538D7

Accessibility & contrast

On white

9.24
#7B197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B197C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B197C#FFFFFF#000000##FFFFFF
##7B197C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#7F2A4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b197c;
/* rgb */ color: rgb(123, 25, 124);
/* oklch */ color: oklch(42.2% 0.172 327.7);
Tailwind
colors: {
  custom: {
    50: '#a563a2',
    500: '#7b197c',
    950: '#000000',
  },
}
SCSS
$custom: #7b197c;
$custom-light: #a563a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b197c",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 299.394,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.17217,
    "h": 327.7
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#7B197C
secondary
#42B040
accent
#E93E40
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B197C

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

Preview Lab → · Contrast checker → · Palette generator →

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