#7A1D89#7A1D89

#7A1D89 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.178 H 321.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7A1D89
RGBrgb(122, 29, 137)
HSLhsl(292, 65%, 33%)
HSVhsv(292, 79%, 54%)
CMYKcmyk(10.9%, 78.8%, 0%, 46.3%)
CIE-LABlab(31.40, 53.17, -39.58)
CIE-LCHlch(31.40, 66.29, 323.34°)
OKLaboklab(43.21% 0.1399 -0.1108)
OKLCHoklch(43.21% 0.178 321.6)
XYZxyz(12.9803, 6.8232, 24.2954)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D89 #2C891D
analogous
#441D89 #7A1D89 #891D62
triadic
#7A1D89 #897A1D #1D897A
tetradic
#7A1D89 #89441D #2C891D #1D6289
square
#7A1D89 #89441D #2C891D #1D6289
split-complementary
#7A1D89 #62891D #1D8944
monochromatic
#200824 #4D1256 #7A1D89 #A728BC #C448D8

Accessibility & contrast

On white

8.88
#7A1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D89
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D89#FFFFFF#000000##FFFFFF
##7A1D891.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#7B3353
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1d89;
/* rgb */ color: rgb(122, 29, 137);
/* oklch */ color: oklch(43.2% 0.178 321.6);
Tailwind
colors: {
  custom: {
    50: '#a465ac',
    500: '#7a1d89',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d89;
$custom-light: #a465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d89",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 291.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.17849,
    "h": 321.6
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#7A1D89
secondary
#57BA47
accent
#E84057
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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