#7B176D#7B176D

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

Color values

HEX#7B176D
RGBrgb(123, 23, 109)
HSLhsl(308, 68%, 29%)
HSVhsv(308, 81%, 48%)
CMYKcmyk(0%, 81.3%, 11.4%, 51.8%)
CIE-LABlab(29.23, 50.42, -25.35)
CIE-LCHlch(29.23, 56.43, 333.31°)
OKLaboklab(41.16% 0.147 -0.0694)
OKLCHoklch(41.16% 0.163 334.7)
XYZxyz(11.2352, 5.9289, 15.0177)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B176D #177B25
analogous
#57177B #7B176D #7B173B
triadic
#7B176D #6D7B17 #176D7B
tetradic
#7B176D #7B5717 #177B25 #173B7B
square
#7B176D #7B5717 #177B25 #173B7B
split-complementary
#7B176D #3B7B17 #177B57
monochromatic
#1A0517 #470D3F #7B176D #AF219B #D933C2

Accessibility & contrast

On white

9.61
#7B176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B176D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B176D#FFFFFF#000000##FFFFFF
##7B176D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#812141
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b176d;
/* rgb */ color: rgb(123, 23, 109);
/* oklch */ color: oklch(41.2% 0.163 334.7);
Tailwind
colors: {
  custom: {
    50: '#a56197',
    500: '#7b176d',
    950: '#000000',
  },
}
SCSS
$custom: #7b176d;
$custom-light: #a56197;
$custom-dark: #000000;
JSON
{
  "hex": "#7b176d",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 308.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.1626,
    "h": 334.7
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#7B176D
secondary
#3EB04E
accent
#EB553C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B176D

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

Preview Lab → · Contrast checker → · Palette generator →

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