#7D197A#7D197A

#7D197A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.172 H 329.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7D197A
RGBrgb(125, 25, 122)
HSLhsl(302, 67%, 29%)
HSVhsv(302, 80%, 49%)
CMYKcmyk(0%, 80%, 2.4%, 51%)
CIE-LABlab(30.55, 52.39, -31.52)
CIE-LCHlch(30.55, 61.14, 328.97°)
OKLaboklab(42.41% 0.1477 -0.0872)
OKLCHoklch(42.41% 0.172 329.4)
XYZxyz(12.3178, 6.4613, 19.0070)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D197A #197D1C
analogous
#4E197D #7D197A #7D1948
triadic
#7D197A #7A7D19 #197A7D
tetradic
#7D197A #7D4E19 #197D1C #19487D
square
#7D197A #7D4E19 #197D1C #19487D
split-complementary
#7D197A #487D19 #197D4E
monochromatic
#1A0519 #4A0F48 #7D197A #B023AC #D739D3

Accessibility & contrast

On white

9.16
#7D197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D197A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D197A#FFFFFF#000000##FFFFFF
##7D197A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7D
Deuteranopia (green-blind)
#384C78
Tritanopia (blue-blind)
#822949
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d197a;
/* rgb */ color: rgb(125, 25, 122);
/* oklch */ color: oklch(42.4% 0.172 329.4);
Tailwind
colors: {
  custom: {
    50: '#a663a1',
    500: '#7d197a',
    950: '#000000',
  },
}
SCSS
$custom: #7d197a;
$custom-light: #a663a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d197a",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 301.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42406,
    "c": 0.17156,
    "h": 329.4
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#7D197A
secondary
#40B144
accent
#EA433E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D197A

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

Preview Lab → · Contrast checker → · Palette generator →

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