#7C196C#7C196C

#7C196C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.160 H 335.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7C196C
RGBrgb(124, 25, 108)
HSLhsl(310, 66%, 29%)
HSVhsv(310, 80%, 49%)
CMYKcmyk(0%, 79.8%, 12.9%, 51.4%)
CIE-LABlab(29.57, 49.90, -24.16)
CIE-LCHlch(29.57, 55.44, 334.17°)
OKLaboklab(41.42% 0.1462 -0.066)
OKLCHoklch(41.42% 0.16 335.7)
XYZxyz(11.3668, 6.0641, 14.7563)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C196C #197C29
analogous
#5B197C #7C196C #7C193B
triadic
#7C196C #6C7C19 #196C7C
tetradic
#7C196C #7C5B19 #197C29 #193B7C
square
#7C196C #7C5B19 #197C29 #193B7C
split-complementary
#7C196C #3B7C19 #197C5B
monochromatic
#190516 #490F40 #7C196C #AF2398 #D738BD

Accessibility & contrast

On white

9.49
#7C196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7C196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C196C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C196C#FFFFFF#000000##FFFFFF
##7C196C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6E
Deuteranopia (green-blind)
#3E4B6A
Tritanopia (blue-blind)
#832141
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c196c;
/* rgb */ color: rgb(124, 25, 108);
/* oklch */ color: oklch(41.4% 0.160 335.7);
Tailwind
colors: {
  custom: {
    50: '#a56296',
    500: '#7c196c',
    950: '#000000',
  },
}
SCSS
$custom: #7c196c;
$custom-light: #a56296;
$custom-dark: #000000;
JSON
{
  "hex": "#7c196c",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 309.697,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.16043,
    "h": 335.7
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#7C196C
secondary
#40B053
accent
#E95A3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C196C

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

Preview Lab → · Contrast checker → · Palette generator →

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