#7A1D9E#7A1D9E

#7A1D9E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.197 H 314.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7A1D9E
RGBrgb(122, 29, 158)
HSLhsl(283, 69%, 37%)
HSVhsv(283, 82%, 62%)
CMYKcmyk(22.8%, 81.6%, 0%, 38%)
CIE-LABlab(32.89, 57.28, -50.07)
CIE-LCHlch(32.89, 76.08, 318.84°)
OKLaboklab(44.73% 0.1365 -0.1416)
OKLCHoklch(44.73% 0.197 314)
XYZxyz(14.6359, 7.4854, 33.0150)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D9E #419E1D
analogous
#3A1D9E #7A1D9E #9E1D82
triadic
#7A1D9E #9E7A1D #1D9E7A
tetradic
#7A1D9E #9E3A1D #419E1D #1D829E
square
#7A1D9E #9E3A1D #419E1D #1D829E
split-complementary
#7A1D9E #829E1D #1D9E3A
monochromatic
#2A0A37 #52146A #7A1D9E #A226D2 #B956E0

Accessibility & contrast

On white

8.41
#7A1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7A1D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D9E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D9E#FFFFFF#000000##FFFFFF
##7A1D9E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#0D4F9B
Tritanopia (blue-blind)
#763D5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1d9e;
/* rgb */ color: rgb(122, 29, 158);
/* oklch */ color: oklch(44.7% 0.197 314.0);
Tailwind
colors: {
  custom: {
    50: '#a566bb',
    500: '#7a1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d9e;
$custom-light: #a566bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d9e",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 283.256,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.19673,
    "h": 314
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#7A1D9E
secondary
#73C354
accent
#EC3C6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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