#7B176B#7B176B

#7B176B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.161 H 335.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7B176B
RGBrgb(123, 23, 107)
HSLhsl(310, 68%, 29%)
HSVhsv(310, 81%, 48%)
CMYKcmyk(0%, 81.3%, 13%, 51.8%)
CIE-LABlab(29.12, 50.11, -24.23)
CIE-LCHlch(29.12, 55.66, 334.19°)
OKLaboklab(41.04% 0.1469 -0.0662)
OKLCHoklch(41.04% 0.161 335.7)
XYZxyz(11.1288, 5.8863, 14.4571)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B176B #177B27
analogous
#59177B #7B176B #7B1739
triadic
#7B176B #6B7B17 #176B7B
tetradic
#7B176B #7B5917 #177B27 #17397B
square
#7B176B #7B5917 #177B27 #17397B
split-complementary
#7B176B #397B17 #177B59
monochromatic
#1A0516 #470D3E #7B176B #AF2198 #D933BE

Accessibility & contrast

On white

9.65
#7B176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B176B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B176B#FFFFFF#000000##FFFFFF
##7B176B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#822040
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b176b;
/* rgb */ color: rgb(123, 23, 107);
/* oklch */ color: oklch(41.0% 0.161 335.7);
Tailwind
colors: {
  custom: {
    50: '#a56195',
    500: '#7b176b',
    950: '#000000',
  },
}
SCSS
$custom: #7b176b;
$custom-light: #a56195;
$custom-dark: #000000;
JSON
{
  "hex": "#7b176b",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 309.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.16114,
    "h": 335.7
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#7B176B
secondary
#3EB050
accent
#EB583C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B176B

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

Preview Lab → · Contrast checker → · Palette generator →

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