#7A1E82#7A1E82

#7A1E82 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.171 H 324.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7A1E82
RGBrgb(122, 30, 130)
HSLhsl(295, 63%, 31%)
HSVhsv(295, 77%, 51%)
CMYKcmyk(6.2%, 76.9%, 0%, 49%)
CIE-LABlab(31.06, 51.54, -35.76)
CIE-LCHlch(31.06, 62.73, 325.25°)
OKLaboklab(42.83% 0.1396 -0.0997)
OKLCHoklch(42.83% 0.171 324.5)
XYZxyz(12.5192, 6.6786, 21.7445)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E82 #26821E
analogous
#481E82 #7A1E82 #821E58
triadic
#7A1E82 #827A1E #1E827A
tetradic
#7A1E82 #82481E #26821E #1E5882
square
#7A1E82 #82481E #26821E #1E5882
split-complementary
#7A1E82 #58821E #1E8248
monochromatic
#1D071F #4B1350 #7A1E82 #A929B4 #C946D4

Accessibility & contrast

On white

8.99
#7A1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E82
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E82#FFFFFF#000000##FFFFFF
##7A1E821.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#7D304F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1e82;
/* rgb */ color: rgb(122, 30, 130);
/* oklch */ color: oklch(42.8% 0.171 324.5);
Tailwind
colors: {
  custom: {
    50: '#a465a7',
    500: '#7a1e82',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e82;
$custom-light: #a465a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e82",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 295.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.17149,
    "h": 324.5
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#7A1E82
secondary
#50B547
accent
#E6424F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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