#7A1D86#7A1D86

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

Color values

HEX#7A1D86
RGBrgb(122, 29, 134)
HSLhsl(293, 64%, 32%)
HSVhsv(293, 78%, 53%)
CMYKcmyk(9%, 78.4%, 0%, 47.5%)
CIE-LABlab(31.20, 52.61, -38.03)
CIE-LCHlch(31.20, 64.92, 324.14°)
OKLaboklab(43.01% 0.1402 -0.1063)
OKLCHoklch(43.01% 0.176 322.8)
XYZxyz(12.7681, 6.7383, 23.1777)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D86 #29861D
analogous
#461D86 #7A1D86 #861D5E
triadic
#7A1D86 #867A1D #1D867A
tetradic
#7A1D86 #86461D #29861D #1D5E86
square
#7A1D86 #86461D #29861D #1D5E86
split-complementary
#7A1D86 #5E861D #1D8646
monochromatic
#1E0721 #4C1254 #7A1D86 #A828B8 #C746D7

Accessibility & contrast

On white

8.95
#7A1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D86
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D86#FFFFFF#000000##FFFFFF
##7A1D861.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1d86;
/* rgb */ color: rgb(122, 29, 134);
/* oklch */ color: oklch(43.0% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#a465aa',
    500: '#7a1d86',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d86;
$custom-light: #a465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d86",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 293.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.17593,
    "h": 322.8
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#7A1D86
secondary
#53B946
accent
#E74053
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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