#7B1A86#7B1A86

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

Color values

HEX#7B1A86
RGBrgb(123, 26, 134)
HSLhsl(294, 68%, 31%)
HSVhsv(294, 81%, 53%)
CMYKcmyk(8.2%, 80.6%, 0%, 47.5%)
CIE-LABlab(31.05, 53.77, -38.27)
CIE-LCHlch(31.05, 66.00, 324.56°)
OKLaboklab(42.93% 0.144 -0.107)
OKLCHoklch(42.93% 0.179 323.4)
XYZxyz(12.8405, 6.6718, 23.1611)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A86 #25861A
analogous
#451A86 #7B1A86 #861A5B
triadic
#7B1A86 #867B1A #1A867B
tetradic
#7B1A86 #86451A #25861A #1A5B86
square
#7B1A86 #86451A #25861A #1A5B86
split-complementary
#7B1A86 #5B861A #1A8645
monochromatic
#1D061F #4C1053 #7B1A86 #AA24B9 #CA40DA

Accessibility & contrast

On white

9.00
#7B1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7B1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A86
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A86#FFFFFF#000000##FFFFFF
##7B1A861.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.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: #7b1a86;
/* rgb */ color: rgb(123, 26, 134);
/* oklch */ color: oklch(42.9% 0.179 323.4);
Tailwind
colors: {
  custom: {
    50: '#a564aa',
    500: '#7b1a86',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a86;
$custom-light: #a564aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a86",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 293.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.17934,
    "h": 323.4
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7B1A86
secondary
#4FB942
accent
#EA3D4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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