#7A1D94#7A1D94

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

Color values

HEX#7A1D94
RGBrgb(122, 29, 148)
HSLhsl(287, 67%, 35%)
HSVhsv(287, 80%, 58%)
CMYKcmyk(17.6%, 80.4%, 0%, 42%)
CIE-LABlab(32.16, 55.28, -45.15)
CIE-LCHlch(32.16, 71.38, 320.76°)
OKLaboklab(43.99% 0.1384 -0.1272)
OKLCHoklch(43.99% 0.188 317.4)
XYZxyz(13.8099, 7.1550, 28.6649)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D94 #37941D
analogous
#3F1D94 #7A1D94 #941D73
triadic
#7A1D94 #947A1D #1D947A
tetradic
#7A1D94 #943F1D #37941D #1D7394
square
#7A1D94 #943F1D #37941D #1D7394
split-complementary
#7A1D94 #73941D #1D943F
monochromatic
#26092E #501361 #7A1D94 #A427C7 #BE4FDC

Accessibility & contrast

On white

8.64
#7A1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D94
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D94#FFFFFF#000000##FFFFFF
##7A1D941.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#793859
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1d94;
/* rgb */ color: rgb(122, 29, 148);
/* oklch */ color: oklch(44.0% 0.188 317.4);
Tailwind
colors: {
  custom: {
    50: '#a465b4',
    500: '#7a1d94',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d94;
$custom-light: #a465b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d94",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 286.891,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.18797,
    "h": 317.4
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#7A1D94
secondary
#66BF4E
accent
#EA3E63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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