#7A1E8A#7A1E8A

#7A1E8A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.178 H 321.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7A1E8A
RGBrgb(122, 30, 138)
HSLhsl(291, 64%, 33%)
HSVhsv(291, 78%, 54%)
CMYKcmyk(11.6%, 78.3%, 0%, 45.9%)
CIE-LABlab(31.58, 53.03, -39.91)
CIE-LCHlch(31.58, 66.37, 323.03°)
OKLaboklab(43.36% 0.1389 -0.1118)
OKLCHoklch(43.36% 0.178 321.2)
XYZxyz(13.0772, 6.9018, 24.6832)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E8A #2E8A1E
analogous
#441E8A #7A1E8A #8A1E64
triadic
#7A1E8A #8A7A1E #1E8A7A
tetradic
#7A1E8A #8A441E #2E8A1E #1E648A
square
#7A1E8A #8A441E #2E8A1E #1E648A
split-complementary
#7A1E8A #648A1E #1E8A44
monochromatic
#210825 #4E1358 #7A1E8A #A629BC #C34BD8

Accessibility & contrast

On white

8.82
#7A1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E8A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E8A#FFFFFF#000000##FFFFFF
##7A1E8A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#7B3453
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1e8a;
/* rgb */ color: rgb(122, 30, 138);
/* oklch */ color: oklch(43.4% 0.178 321.2);
Tailwind
colors: {
  custom: {
    50: '#a465ad',
    500: '#7a1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e8a;
$custom-light: #a465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e8a",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 291.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.17832,
    "h": 321.2
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#7A1E8A
secondary
#5ABA4A
accent
#E74159
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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