#7A1E97#7A1E97

#7A1E97 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.190 H 316.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7A1E97
RGBrgb(122, 30, 151)
HSLhsl(286, 67%, 35%)
HSVhsv(286, 80%, 59%)
CMYKcmyk(19.2%, 80.1%, 0%, 40.8%)
CIE-LABlab(32.48, 55.55, -46.46)
CIE-LCHlch(32.48, 72.42, 320.09°)
OKLaboklab(44.29% 0.1371 -0.131)
OKLCHoklch(44.29% 0.19 316.3)
XYZxyz(14.0754, 7.3011, 29.9400)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E97 #3B971E
analogous
#3D1E97 #7A1E97 #971E77
triadic
#7A1E97 #977A1E #1E977A
tetradic
#7A1E97 #973D1E #3B971E #1E7797
square
#7A1E97 #973D1E #3B971E #1E7797
split-complementary
#7A1E97 #77971E #1E973D
monochromatic
#270A31 #511464 #7A1E97 #A328CA #BC53DD

Accessibility & contrast

On white

8.54
#7A1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E97
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E97#FFFFFF#000000##FFFFFF
##7A1E971.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#1D4F94
Tritanopia (blue-blind)
#783A5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1e97;
/* rgb */ color: rgb(122, 30, 151);
/* oklch */ color: oklch(44.3% 0.190 316.3);
Tailwind
colors: {
  custom: {
    50: '#a566b6',
    500: '#7a1e97',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e97;
$custom-light: #a566b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e97",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 285.62,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.18965,
    "h": 316.3
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#7A1E97
secondary
#6CC051
accent
#EA3E67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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