#7B196B#7B196B

#7B196B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.159 H 335.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7B196B
RGBrgb(123, 25, 107)
HSLhsl(310, 66%, 29%)
HSVhsv(310, 80%, 48%)
CMYKcmyk(0%, 79.7%, 13%, 51.8%)
CIE-LABlab(29.33, 49.51, -23.90)
CIE-LCHlch(29.33, 54.98, 334.23°)
OKLaboklab(41.19% 0.1451 -0.0653)
OKLCHoklch(41.19% 0.159 335.8)
XYZxyz(11.1700, 5.9688, 14.4709)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B196B #197B29
analogous
#5A197B #7B196B #7B193A
triadic
#7B196B #6B7B19 #196B7B
tetradic
#7B196B #7B5A19 #197B29 #193A7B
square
#7B196B #7B5A19 #197B29 #193A7B
split-complementary
#7B196B #3A7B19 #197B5A
monochromatic
#190516 #480F3F #7B196B #AE2397 #D738BD

Accessibility & contrast

On white

9.57
#7B196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B196B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B196B#FFFFFF#000000##FFFFFF
##7B196B1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#3E4A69
Tritanopia (blue-blind)
#822141
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b196b;
/* rgb */ color: rgb(123, 25, 107);
/* oklch */ color: oklch(41.2% 0.159 335.8);
Tailwind
colors: {
  custom: {
    50: '#a56295',
    500: '#7b196b',
    950: '#000000',
  },
}
SCSS
$custom: #7b196b;
$custom-light: #a56295;
$custom-dark: #000000;
JSON
{
  "hex": "#7b196b",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 309.796,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.15912,
    "h": 335.8
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#7B196B
secondary
#40AF52
accent
#E95A3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B196B

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

Preview Lab → · Contrast checker → · Palette generator →

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