#7B1C86#7B1C86

#7B1C86 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.177 H 323.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7B1C86
RGBrgb(123, 28, 134)
HSLhsl(294, 65%, 32%)
HSVhsv(294, 79%, 53%)
CMYKcmyk(8.2%, 79.1%, 0%, 47.5%)
CIE-LABlab(31.26, 53.15, -37.93)
CIE-LCHlch(31.26, 65.29, 324.49°)
OKLaboklab(43.09% 0.1423 -0.106)
OKLCHoklch(43.09% 0.177 323.3)
XYZxyz(12.8863, 6.7635, 23.1764)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C86 #27861C
analogous
#461C86 #7B1C86 #861C5C
triadic
#7B1C86 #867B1C #1C867B
tetradic
#7B1C86 #86461C #27861C #1C5C86
square
#7B1C86 #86461C #27861C #1C5C86
split-complementary
#7B1C86 #5C861C #1C8646
monochromatic
#1E0721 #4D1153 #7B1C86 #A927B9 #C944D8

Accessibility & contrast

On white

8.93
#7B1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C86
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C86#FFFFFF#000000##FFFFFF
##7B1C861.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#7D3151
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1c86;
/* rgb */ color: rgb(123, 28, 134);
/* oklch */ color: oklch(43.1% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#a564aa',
    500: '#7b1c86',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c86;
$custom-light: #a564aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c86",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 293.774,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43086,
    "c": 0.17739,
    "h": 323.3
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#7B1C86
secondary
#51B945
accent
#E83F51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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