#7A1B86#7A1B86

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

Color values

HEX#7A1B86
RGBrgb(122, 27, 134)
HSLhsl(293, 66%, 32%)
HSVhsv(293, 80%, 53%)
CMYKcmyk(9%, 79.9%, 0%, 47.5%)
CIE-LABlab(30.98, 53.25, -38.39)
CIE-LCHlch(30.98, 65.65, 324.21°)
OKLaboklab(42.85% 0.1419 -0.1073)
OKLCHoklch(42.85% 0.178 322.9)
XYZxyz(12.7206, 6.6434, 23.1619)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B86 #27861B
analogous
#451B86 #7A1B86 #861B5D
triadic
#7A1B86 #867A1B #1B867A
tetradic
#7A1B86 #86451B #27861B #1B5D86
square
#7A1B86 #86451B #27861B #1B5D86
split-complementary
#7A1B86 #5D861B #1B8645
monochromatic
#1D0620 #4C1153 #7A1B86 #A825B9 #C842D9

Accessibility & contrast

On white

9.02
#7A1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B86
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B86#FFFFFF#000000##FFFFFF
##7A1B861.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1b86;
/* rgb */ color: rgb(122, 27, 134);
/* oklch */ color: oklch(42.9% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#a464aa',
    500: '#7a1b86',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b86;
$custom-light: #a464aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b86",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 293.271,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.17794,
    "h": 322.9
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#7A1B86
secondary
#51B944
accent
#E93E52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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