#7A1E89#7A1E89

#7A1E89 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.177 H 321.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7A1E89
RGBrgb(122, 30, 137)
HSLhsl(292, 64%, 33%)
HSVhsv(292, 78%, 54%)
CMYKcmyk(10.9%, 78.1%, 0%, 46.3%)
CIE-LABlab(31.52, 52.84, -39.40)
CIE-LCHlch(31.52, 65.91, 323.29°)
OKLaboklab(43.3% 0.139 -0.1103)
OKLCHoklch(43.3% 0.177 321.6)
XYZxyz(13.0052, 6.8730, 24.3037)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E89 #2D891E
analogous
#451E89 #7A1E89 #891E62
triadic
#7A1E89 #897A1E #1E897A
tetradic
#7A1E89 #89451E #2D891E #1E6289
square
#7A1E89 #89451E #2D891E #1E6289
split-complementary
#7A1E89 #62891E #1E8945
monochromatic
#210825 #4D1357 #7A1E89 #A729BB #C44AD7

Accessibility & contrast

On white

8.84
#7A1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E89
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E89#FFFFFF#000000##FFFFFF
##7A1E891.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1e89;
/* rgb */ color: rgb(122, 30, 137);
/* oklch */ color: oklch(43.3% 0.177 321.6);
Tailwind
colors: {
  custom: {
    50: '#a465ac',
    500: '#7a1e89',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e89;
$custom-light: #a465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e89",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 291.589,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.17746,
    "h": 321.6
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#7A1E89
secondary
#59BA49
accent
#E74158
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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