#7B1777#7B1777

#7B1777 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.170 H 329.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7B1777
RGBrgb(123, 23, 119)
HSLhsl(302, 68%, 29%)
HSVhsv(302, 81%, 48%)
CMYKcmyk(0%, 81.3%, 3.3%, 51.8%)
CIE-LABlab(29.80, 52.03, -30.83)
CIE-LCHlch(29.80, 60.48, 329.36°)
OKLaboklab(41.75% 0.1473 -0.0852)
OKLCHoklch(41.75% 0.17 329.9)
XYZxyz(11.8045, 6.1566, 18.0158)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1777 #177B1B
analogous
#4D177B #7B1777 #7B1745
triadic
#7B1777 #777B17 #17777B
tetradic
#7B1777 #7B4D17 #177B1B #17457B
square
#7B1777 #7B4D17 #177B1B #17457B
split-complementary
#7B1777 #457B17 #177B4D
monochromatic
#1A0519 #470D45 #7B1777 #AF21A9 #D933D2

Accessibility & contrast

On white

9.41
#7B1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1777
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1777#FFFFFF#000000##FFFFFF
##7B17771.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053E79
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#802647
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1777;
/* rgb */ color: rgb(123, 23, 119);
/* oklch */ color: oklch(41.8% 0.170 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7b1777',
    950: '#000000',
  },
}
SCSS
$custom: #7b1777;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1777",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 302.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.17014,
    "h": 329.9
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#7B1777
secondary
#3EB042
accent
#EB433C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1777

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

Preview Lab → · Contrast checker → · Palette generator →

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