#7D196E#7D196E

#7D196E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.162 H 335.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7D196E
RGBrgb(125, 25, 110)
HSLhsl(309, 67%, 29%)
HSVhsv(309, 80%, 49%)
CMYKcmyk(0%, 80%, 12%, 51%)
CIE-LABlab(29.87, 50.45, -24.96)
CIE-LCHlch(29.87, 56.29, 333.67°)
OKLaboklab(41.7% 0.1474 -0.0683)
OKLCHoklch(41.7% 0.162 335.2)
XYZxyz(11.6197, 6.1821, 15.3301)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D196E #197D28
analogous
#5A197D #7D196E #7D193C
triadic
#7D196E #6E7D19 #196E7D
tetradic
#7D196E #7D5A19 #197D28 #193C7D
square
#7D196E #7D5A19 #197D28 #193C7D
split-complementary
#7D196E #3C7D19 #197D5A
monochromatic
#1A0516 #4A0F41 #7D196E #B0239B #D739C0

Accessibility & contrast

On white

9.39
#7D196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D196E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D196E#FFFFFF#000000##FFFFFF
##7D196E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#3E4C6C
Tritanopia (blue-blind)
#842242
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d196e;
/* rgb */ color: rgb(125, 25, 110);
/* oklch */ color: oklch(41.7% 0.162 335.2);
Tailwind
colors: {
  custom: {
    50: '#a66298',
    500: '#7d196e',
    950: '#000000',
  },
}
SCSS
$custom: #7d196e;
$custom-light: #a66298;
$custom-dark: #000000;
JSON
{
  "hex": "#7d196e",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 309,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.16246,
    "h": 335.2
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#7D196E
secondary
#40B151
accent
#EA583E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D196E

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

Preview Lab → · Contrast checker → · Palette generator →

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