#7C196E#7C196E

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

Color values

HEX#7C196E
RGBrgb(124, 25, 110)
HSLhsl(308, 66%, 29%)
HSVhsv(308, 80%, 49%)
CMYKcmyk(0%, 79.8%, 11.3%, 51.4%)
CIE-LABlab(29.68, 50.21, -25.27)
CIE-LCHlch(29.68, 56.21, 333.29°)
OKLaboklab(41.53% 0.1464 -0.0692)
OKLCHoklch(41.53% 0.162 334.7)
XYZxyz(11.4744, 6.1072, 15.3233)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C196E #197C27
analogous
#59197C #7C196E #7C193D
triadic
#7C196E #6E7C19 #196E7C
tetradic
#7C196E #7C5919 #197C27 #193D7C
square
#7C196E #7C5919 #197C27 #193D7C
split-complementary
#7C196E #3D7C19 #197C59
monochromatic
#190517 #490F41 #7C196E #AF239B #D738C1

Accessibility & contrast

On white

9.45
#7C196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C196E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C196E#FFFFFF#000000##FFFFFF
##7C196E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#822242
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c196e;
/* rgb */ color: rgb(124, 25, 110);
/* oklch */ color: oklch(41.5% 0.162 334.7);
Tailwind
colors: {
  custom: {
    50: '#a56298',
    500: '#7c196e',
    950: '#000000',
  },
}
SCSS
$custom: #7c196e;
$custom-light: #a56298;
$custom-dark: #000000;
JSON
{
  "hex": "#7c196e",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 308.485,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.1619,
    "h": 334.7
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#7C196E
secondary
#40B050
accent
#E9573E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C196E

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

Preview Lab → · Contrast checker → · Palette generator →

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