#7A1E86#7A1E86

#7A1E86 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.175 H 322.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7A1E86
RGBrgb(122, 30, 134)
HSLhsl(293, 63%, 32%)
HSVhsv(293, 78%, 53%)
CMYKcmyk(9%, 77.6%, 0%, 47.5%)
CIE-LABlab(31.32, 52.28, -37.85)
CIE-LCHlch(31.32, 64.54, 324.10°)
OKLaboklab(43.09% 0.1393 -0.1058)
OKLCHoklch(43.09% 0.175 322.8)
XYZxyz(12.7930, 6.7881, 23.1860)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E86 #2A861E
analogous
#461E86 #7A1E86 #861E5E
triadic
#7A1E86 #867A1E #1E867A
tetradic
#7A1E86 #86461E #2A861E #1E5E86
square
#7A1E86 #86461E #2A861E #1E5E86
split-complementary
#7A1E86 #5E861E #1E8646
monochromatic
#1F0822 #4C1354 #7A1E86 #A829B8 #C648D6

Accessibility & contrast

On white

8.91
#7A1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E86
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E86#FFFFFF#000000##FFFFFF
##7A1E861.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#7C3251
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1e86;
/* rgb */ color: rgb(122, 30, 134);
/* oklch */ color: oklch(43.1% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#a465aa',
    500: '#7a1e86',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e86;
$custom-light: #a465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e86",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 293.077,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43094,
    "c": 0.17489,
    "h": 322.8
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#7A1E86
secondary
#55B847
accent
#E64154
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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