#7A169E#7A169E

#7A169E is a dark, highly saturated purple. Relative luminance 0.072; OKLCH L 44.3% C 0.202 H 314.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7A169E
RGBrgb(122, 22, 158)
HSLhsl(284, 76%, 35%)
HSVhsv(284, 86%, 62%)
CMYKcmyk(22.8%, 86.1%, 0%, 38%)
CIE-LABlab(32.21, 59.24, -51.17)
CIE-LCHlch(32.21, 78.28, 319.18°)
OKLaboklab(44.26% 0.1414 -0.1448)
OKLCHoklch(44.26% 0.202 314.3)
XYZxyz(14.4834, 7.1805, 32.9642)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A169E #3A9E16
analogous
#36169E #7A169E #9E167E
triadic
#7A169E #9E7A16 #169E7A
tetradic
#7A169E #9E3616 #3A9E16 #167E9E
square
#7A169E #9E3616 #3A9E16 #167E9E
split-complementary
#7A169E #7E9E16 #169E36
monochromatic
#270733 #510F68 #7A169E #A31DD4 #BC49E6

Accessibility & contrast

On white

8.62
#7A169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7A169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A169E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A169E#FFFFFF#000000##FFFFFF
##7A169E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#014E9B
Tritanopia (blue-blind)
#763A5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a169e;
/* rgb */ color: rgb(122, 22, 158);
/* oklch */ color: oklch(44.3% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#a563bb',
    500: '#7a169e',
    950: '#000000',
  },
}
SCSS
$custom: #7a169e;
$custom-light: #a563bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a169e",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 284.118,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.20237,
    "h": 314.3
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#7A169E
secondary
#6AC749
accent
#F23668
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A169E

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

Preview Lab → · Contrast checker → · Palette generator →

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