#7B1976#7B1976

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

Color values

HEX#7B1976
RGBrgb(123, 25, 118)
HSLhsl(303, 66%, 29%)
HSVhsv(303, 80%, 48%)
CMYKcmyk(0%, 79.7%, 4.1%, 51.8%)
CIE-LABlab(29.95, 51.28, -29.96)
CIE-LCHlch(29.95, 59.39, 329.70°)
OKLaboklab(41.83% 0.1456 -0.0827)
OKLCHoklch(41.83% 0.167 330.4)
XYZxyz(11.7860, 6.2152, 17.7149)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1976 #197B1E
analogous
#4F197B #7B1976 #7B1945
triadic
#7B1976 #767B19 #19767B
tetradic
#7B1976 #7B4F19 #197B1E #19457B
square
#7B1976 #7B4F19 #197B1E #19457B
split-complementary
#7B1976 #457B19 #197B4F
monochromatic
#190518 #480F45 #7B1976 #AE23A7 #D738CE

Accessibility & contrast

On white

9.36
#7B1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1976
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1976#FFFFFF#000000##FFFFFF
##7B19761.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#802747
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1976;
/* rgb */ color: rgb(123, 25, 118);
/* oklch */ color: oklch(41.8% 0.167 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7b1976',
    950: '#000000',
  },
}
SCSS
$custom: #7b1976;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1976",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 303.061,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.16745,
    "h": 330.4
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#7B1976
secondary
#40AF46
accent
#E9473F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1976

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

Preview Lab → · Contrast checker → · Palette generator →

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