#7B1877#7B1877

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

Color values

HEX#7B1877
RGBrgb(123, 24, 119)
HSLhsl(302, 67%, 29%)
HSVhsv(302, 80%, 48%)
CMYKcmyk(0%, 80.5%, 3.3%, 51.8%)
CIE-LABlab(29.90, 51.74, -30.67)
CIE-LCHlch(29.90, 60.15, 329.35°)
OKLaboklab(41.82% 0.1464 -0.0848)
OKLCHoklch(41.82% 0.169 329.9)
XYZxyz(11.8247, 6.1971, 18.0226)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1877 #187B1C
analogous
#4E187B #7B1877 #7B1846
triadic
#7B1877 #777B18 #18777B
tetradic
#7B1877 #7B4E18 #187B1C #18467B
square
#7B1877 #7B4E18 #187B1C #18467B
split-complementary
#7B1877 #467B18 #187B4E
monochromatic
#1A0519 #480E45 #7B1877 #AE22A9 #D836D1

Accessibility & contrast

On white

9.38
#7B1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1877
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1877#FFFFFF#000000##FFFFFF
##7B18771.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1877;
/* rgb */ color: rgb(123, 24, 119);
/* oklch */ color: oklch(41.8% 0.169 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7b1877',
    950: '#000000',
  },
}
SCSS
$custom: #7b1877;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1877",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 302.424,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41821,
    "c": 0.1692,
    "h": 329.9
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#7B1877
secondary
#3FB044
accent
#EA453E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1877

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

Preview Lab → · Contrast checker → · Palette generator →

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