#7D196F#7D196F

#7D196F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.163 H 334.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7D196F
RGBrgb(125, 25, 111)
HSLhsl(308, 67%, 29%)
HSVhsv(308, 80%, 49%)
CMYKcmyk(0%, 80%, 11.2%, 51%)
CIE-LABlab(29.92, 50.61, -25.52)
CIE-LCHlch(29.92, 56.68, 333.24°)
OKLaboklab(41.76% 0.1475 -0.0699)
OKLCHoklch(41.76% 0.163 334.7)
XYZxyz(11.6745, 6.2040, 15.6185)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D196F #197D27
analogous
#59197D #7D196F #7D193D
triadic
#7D196F #6F7D19 #196F7D
tetradic
#7D196F #7D5919 #197D27 #193D7D
square
#7D196F #7D5919 #197D27 #193D7D
split-complementary
#7D196F #3D7D19 #197D59
monochromatic
#1A0517 #4A0F42 #7D196F #B0239C #D739C1

Accessibility & contrast

On white

9.37
#7D196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D196F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D196F#FFFFFF#000000##FFFFFF
##7D196F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#832343
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d196f;
/* rgb */ color: rgb(125, 25, 111);
/* oklch */ color: oklch(41.8% 0.163 334.7);
Tailwind
colors: {
  custom: {
    50: '#a66298',
    500: '#7d196f',
    950: '#000000',
  },
}
SCSS
$custom: #7d196f;
$custom-light: #a66298;
$custom-dark: #000000;
JSON
{
  "hex": "#7d196f",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 308.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.1632,
    "h": 334.7
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#7D196F
secondary
#40B150
accent
#EA563E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D196F

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

Preview Lab → · Contrast checker → · Palette generator →

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