#7A1C86#7A1C86

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

Color values

HEX#7A1C86
RGBrgb(122, 28, 134)
HSLhsl(293, 65%, 32%)
HSVhsv(293, 79%, 53%)
CMYKcmyk(9%, 79.1%, 0%, 47.5%)
CIE-LABlab(31.09, 52.94, -38.21)
CIE-LCHlch(31.09, 65.29, 324.18°)
OKLaboklab(42.93% 0.1411 -0.1068)
OKLCHoklch(42.93% 0.177 322.9)
XYZxyz(12.7439, 6.6901, 23.1697)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C86 #28861C
analogous
#451C86 #7A1C86 #861C5D
triadic
#7A1C86 #867A1C #1C867A
tetradic
#7A1C86 #86451C #28861C #1C5D86
square
#7A1C86 #86451C #28861C #1C5D86
split-complementary
#7A1C86 #5D861C #1C8645
monochromatic
#1E0721 #4C1153 #7A1C86 #A827B9 #C744D8

Accessibility & contrast

On white

8.98
#7A1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C86
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C86#FFFFFF#000000##FFFFFF
##7A1C861.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1c86;
/* rgb */ color: rgb(122, 28, 134);
/* oklch */ color: oklch(42.9% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#a464aa',
    500: '#7a1c86',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c86;
$custom-light: #a464aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c86",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 293.208,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42931,
    "c": 0.17696,
    "h": 322.9
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#7A1C86
secondary
#52B945
accent
#E83F53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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