#7B1B86#7B1B86

#7B1B86 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.178 H 323.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7B1B86
RGBrgb(123, 27, 134)
HSLhsl(294, 66%, 32%)
HSVhsv(294, 80%, 53%)
CMYKcmyk(8.2%, 79.9%, 0%, 47.5%)
CIE-LABlab(31.15, 53.46, -38.10)
CIE-LCHlch(31.15, 65.65, 324.52°)
OKLaboklab(43.01% 0.1431 -0.1065)
OKLCHoklch(43.01% 0.178 323.4)
XYZxyz(12.8630, 6.7168, 23.1686)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B86 #26861B
analogous
#461B86 #7B1B86 #861B5C
triadic
#7B1B86 #867B1B #1B867B
tetradic
#7B1B86 #86461B #26861B #1B5C86
square
#7B1B86 #86461B #26861B #1B5C86
split-complementary
#7B1B86 #5C861B #1B8646
monochromatic
#1D0620 #4C1153 #7B1B86 #AA25B9 #CA42D9

Accessibility & contrast

On white

8.96
#7B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B86
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B86#FFFFFF#000000##FFFFFF
##7B1B861.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#7D3050
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1b86;
/* rgb */ color: rgb(123, 27, 134);
/* oklch */ color: oklch(43.0% 0.178 323.4);
Tailwind
colors: {
  custom: {
    50: '#a564aa',
    500: '#7b1b86',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b86;
$custom-light: #a564aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b86",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 293.832,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.17838,
    "h": 323.4
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#7B1B86
secondary
#50B944
accent
#E93E50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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