#7B196F#7B196F

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

Color values

HEX#7B196F
RGBrgb(123, 25, 111)
HSLhsl(307, 66%, 29%)
HSVhsv(307, 80%, 48%)
CMYKcmyk(0%, 79.7%, 9.8%, 51.8%)
CIE-LABlab(29.55, 50.14, -26.13)
CIE-LCHlch(29.55, 56.54, 332.47°)
OKLaboklab(41.42% 0.1454 -0.0717)
OKLCHoklch(41.42% 0.162 333.8)
XYZxyz(11.3854, 6.0549, 15.6049)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B196F #197B25
analogous
#56197B #7B196F #7B193E
triadic
#7B196F #6F7B19 #196F7B
tetradic
#7B196F #7B5619 #197B25 #193E7B
square
#7B196F #7B5619 #197B25 #193E7B
split-complementary
#7B196F #3E7B19 #197B56
monochromatic
#190517 #480F41 #7B196F #AE239D #D738C3

Accessibility & contrast

On white

9.50
#7B196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B196F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B196F#FFFFFF#000000##FFFFFF
##7B196F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#812343
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b196f;
/* rgb */ color: rgb(123, 25, 111);
/* oklch */ color: oklch(41.4% 0.162 333.8);
Tailwind
colors: {
  custom: {
    50: '#a56298',
    500: '#7b196f',
    950: '#000000',
  },
}
SCSS
$custom: #7b196f;
$custom-light: #a56298;
$custom-dark: #000000;
JSON
{
  "hex": "#7b196f",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 307.347,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.16209,
    "h": 333.8
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#7B196F
secondary
#40AF4E
accent
#E9543F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B196F

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

Preview Lab → · Contrast checker → · Palette generator →

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