#7A1E93#7A1E93

#7A1E93 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.186 H 317.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7A1E93
RGBrgb(122, 30, 147)
HSLhsl(287, 66%, 35%)
HSVhsv(287, 80%, 58%)
CMYKcmyk(17%, 79.6%, 0%, 42.4%)
CIE-LABlab(32.20, 54.76, -44.47)
CIE-LCHlch(32.20, 70.55, 320.92°)
OKLaboklab(44% 0.1378 -0.1252)
OKLCHoklch(44% 0.186 317.7)
XYZxyz(13.7560, 7.1733, 28.2581)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E93 #37931E
analogous
#3F1E93 #7A1E93 #931E72
triadic
#7A1E93 #937A1E #1E937A
tetradic
#7A1E93 #933F1E #37931E #1E7293
square
#7A1E93 #933F1E #37931E #1E7293
split-complementary
#7A1E93 #72931E #1E933F
monochromatic
#26092D #501460 #7A1E93 #A428C6 #BE50DB

Accessibility & contrast

On white

8.63
#7A1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E93
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E93#FFFFFF#000000##FFFFFF
##7A1E931.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#224E90
Tritanopia (blue-blind)
#793858
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1e93;
/* rgb */ color: rgb(122, 30, 147);
/* oklch */ color: oklch(44.0% 0.186 317.7);
Tailwind
colors: {
  custom: {
    50: '#a466b3',
    500: '#7a1e93',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e93;
$custom-light: #a466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e93",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 287.179,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.18613,
    "h": 317.7
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#7A1E93
secondary
#66BE4F
accent
#E93F63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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