#7B1977#7B1977

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

Color values

HEX#7B1977
RGBrgb(123, 25, 119)
HSLhsl(302, 66%, 29%)
HSVhsv(302, 80%, 48%)
CMYKcmyk(0%, 79.7%, 3.3%, 51.8%)
CIE-LABlab(30.01, 51.44, -30.50)
CIE-LCHlch(30.01, 59.81, 329.34°)
OKLaboklab(41.9% 0.1456 -0.0843)
OKLCHoklch(41.9% 0.168 329.9)
XYZxyz(11.8457, 6.2391, 18.0295)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1977 #197B1D
analogous
#4E197B #7B1977 #7B1946
triadic
#7B1977 #777B19 #19777B
tetradic
#7B1977 #7B4E19 #197B1D #19467B
square
#7B1977 #7B4E19 #197B1D #19467B
split-complementary
#7B1977 #467B19 #197B4E
monochromatic
#190519 #480F46 #7B1977 #AE23A8 #D738D0

Accessibility & contrast

On white

9.34
#7B1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1977
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1977#FFFFFF#000000##FFFFFF
##7B19771.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E79
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#802747
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1977;
/* rgb */ color: rgb(123, 25, 119);
/* oklch */ color: oklch(41.9% 0.168 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5639e',
    500: '#7b1977',
    950: '#000000',
  },
}
SCSS
$custom: #7b1977;
$custom-light: #a5639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1977",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 302.449,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.16823,
    "h": 329.9
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#7B1977
secondary
#40AF45
accent
#E9463F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1977

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

Preview Lab → · Contrast checker → · Palette generator →

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