#7B196C#7B196C

#7B196C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.160 H 335.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7B196C
RGBrgb(123, 25, 108)
HSLhsl(309, 66%, 29%)
HSVhsv(309, 80%, 48%)
CMYKcmyk(0%, 79.7%, 12.2%, 51.8%)
CIE-LABlab(29.39, 49.66, -24.46)
CIE-LCHlch(29.39, 55.36, 333.78°)
OKLaboklab(41.25% 0.1452 -0.0669)
OKLCHoklch(41.25% 0.16 335.3)
XYZxyz(11.2229, 5.9899, 14.7496)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B196C #197B28
analogous
#59197B #7B196C #7B193B
triadic
#7B196C #6C7B19 #196C7B
tetradic
#7B196C #7B5919 #197B28 #193B7B
square
#7B196C #7B5919 #197B28 #193B7B
split-complementary
#7B196C #3B7B19 #197B59
monochromatic
#190516 #480F3F #7B196C #AE2399 #D738BE

Accessibility & contrast

On white

9.56
#7B196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B196C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B196C#FFFFFF#000000##FFFFFF
##7B196C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6E
Deuteranopia (green-blind)
#3D4A6A
Tritanopia (blue-blind)
#812241
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b196c;
/* rgb */ color: rgb(123, 25, 108);
/* oklch */ color: oklch(41.3% 0.160 335.3);
Tailwind
colors: {
  custom: {
    50: '#a56296',
    500: '#7b196c',
    950: '#000000',
  },
}
SCSS
$custom: #7b196c;
$custom-light: #a56296;
$custom-dark: #000000;
JSON
{
  "hex": "#7b196c",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 309.184,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.15985,
    "h": 335.3
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#7B196C
secondary
#40AF51
accent
#E9593F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B196C

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

Preview Lab → · Contrast checker → · Palette generator →

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