#7B1D86#7B1D86

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

Color values

HEX#7B1D86
RGBrgb(123, 29, 134)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(8.2%, 78.4%, 0%, 47.5%)
CIE-LABlab(31.37, 52.82, -37.75)
CIE-LCHlch(31.37, 64.92, 324.45°)
OKLaboklab(43.17% 0.1414 -0.1054)
OKLCHoklch(43.17% 0.176 323.3)
XYZxyz(12.9104, 6.8117, 23.1844)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D86 #28861D
analogous
#471D86 #7B1D86 #861D5D
triadic
#7B1D86 #867B1D #1D867B
tetradic
#7B1D86 #86471D #28861D #1D5D86
square
#7B1D86 #86471D #28861D #1D5D86
split-complementary
#7B1D86 #5D861D #1D8647
monochromatic
#1F0721 #4D1254 #7B1D86 #A928B8 #C846D7

Accessibility & contrast

On white

8.89
#7B1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D86
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D86#FFFFFF#000000##FFFFFF
##7B1D861.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.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: #7b1d86;
/* rgb */ color: rgb(123, 29, 134);
/* oklch */ color: oklch(43.2% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#a565aa',
    500: '#7b1d86',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d86;
$custom-light: #a565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d86",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 293.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.17637,
    "h": 323.3
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#7B1D86
secondary
#52B946
accent
#E74052
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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