#7B176F#7B176F

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

Color values

HEX#7B176F
RGBrgb(123, 23, 111)
HSLhsl(307, 68%, 29%)
HSVhsv(307, 81%, 48%)
CMYKcmyk(0%, 81.3%, 9.8%, 51.8%)
CIE-LABlab(29.34, 50.73, -26.46)
CIE-LCHlch(29.34, 57.22, 332.46°)
OKLaboklab(41.27% 0.1471 -0.0726)
OKLCHoklch(41.27% 0.164 333.7)
XYZxyz(11.3441, 5.9724, 15.5912)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B176F #177B23
analogous
#55177B #7B176F #7B173D
triadic
#7B176F #6F7B17 #176F7B
tetradic
#7B176F #7B5517 #177B23 #173D7B
square
#7B176F #7B5517 #177B23 #173D7B
split-complementary
#7B176F #3D7B17 #177B55
monochromatic
#1A0517 #470D40 #7B176F #AF219E #D933C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B176F#FFFFFF#000000##FFFFFF
##7B176F1.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)
#133C71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#812242
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b176f;
/* rgb */ color: rgb(123, 23, 111);
/* oklch */ color: oklch(41.3% 0.164 333.7);
Tailwind
colors: {
  custom: {
    50: '#a56198',
    500: '#7b176f',
    950: '#000000',
  },
}
SCSS
$custom: #7b176f;
$custom-light: #a56198;
$custom-dark: #000000;
JSON
{
  "hex": "#7b176f",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 307.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.16408,
    "h": 333.7
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#7B176F
secondary
#3EB04C
accent
#EB513C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B176F

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

Preview Lab → · Contrast checker → · Palette generator →

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