#7C196D#7C196D

#7C196D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.161 H 335.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7C196D
RGBrgb(124, 25, 109)
HSLhsl(309, 66%, 29%)
HSVhsv(309, 80%, 49%)
CMYKcmyk(0%, 79.8%, 12.1%, 51.4%)
CIE-LABlab(29.63, 50.06, -24.71)
CIE-LCHlch(29.63, 55.83, 333.72°)
OKLaboklab(41.48% 0.1463 -0.0676)
OKLCHoklch(41.48% 0.161 335.2)
XYZxyz(11.4203, 6.0855, 15.0382)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C196D #197C28
analogous
#5A197C #7C196D #7C193C
triadic
#7C196D #6D7C19 #196D7C
tetradic
#7C196D #7C5A19 #197C28 #193C7C
square
#7C196D #7C5A19 #197C28 #193C7C
split-complementary
#7C196D #3C7C19 #197C5A
monochromatic
#190516 #490F40 #7C196D #AF239A #D738BF

Accessibility & contrast

On white

9.47
#7C196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C196D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C196D#FFFFFF#000000##FFFFFF
##7C196D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#822242
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c196d;
/* rgb */ color: rgb(124, 25, 109);
/* oklch */ color: oklch(41.5% 0.161 335.2);
Tailwind
colors: {
  custom: {
    50: '#a56297',
    500: '#7c196d',
    950: '#000000',
  },
}
SCSS
$custom: #7c196d;
$custom-light: #a56297;
$custom-dark: #000000;
JSON
{
  "hex": "#7c196d",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 309.091,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.16116,
    "h": 335.2
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#7C196D
secondary
#40B051
accent
#E9583E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C196D

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

Preview Lab → · Contrast checker → · Palette generator →

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