#7A1C87#7A1C87

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

Color values

HEX#7A1C87
RGBrgb(122, 28, 135)
HSLhsl(293, 66%, 32%)
HSVhsv(293, 79%, 53%)
CMYKcmyk(9.6%, 79.3%, 0%, 47.1%)
CIE-LABlab(31.16, 53.12, -38.73)
CIE-LCHlch(31.16, 65.74, 323.90°)
OKLaboklab(43% 0.141 -0.1083)
OKLCHoklch(43% 0.178 322.5)
XYZxyz(12.8140, 6.7181, 23.5388)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C87 #29871C
analogous
#441C87 #7A1C87 #871C5F
triadic
#7A1C87 #877A1C #1C877A
tetradic
#7A1C87 #87441C #29871C #1C5F87
square
#7A1C87 #87441C #29871C #1C5F87
split-complementary
#7A1C87 #5F871C #1C8744
monochromatic
#1E0722 #4C1154 #7A1C87 #A827BA #C745D8

Accessibility & contrast

On white

8.96
#7A1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C87
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C87#FFFFFF#000000##FFFFFF
##7A1C871.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#7C3251
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1c87;
/* rgb */ color: rgb(122, 28, 135);
/* oklch */ color: oklch(43.0% 0.178 322.5);
Tailwind
colors: {
  custom: {
    50: '#a464aa',
    500: '#7a1c87',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c87;
$custom-light: #a464aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c87",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 292.71,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.1778,
    "h": 322.5
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#7A1C87
secondary
#53BA45
accent
#E93F54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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