#7A2096#7A2096

#7A2096 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.187 H 316.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7A2096
RGBrgb(122, 32, 150)
HSLhsl(286, 65%, 36%)
HSVhsv(286, 79%, 59%)
CMYKcmyk(18.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(32.64, 54.69, -45.60)
CIE-LCHlch(32.64, 71.20, 320.18°)
OKLaboklab(44.38% 0.1356 -0.1285)
OKLCHoklch(44.38% 0.187 316.5)
XYZxyz(14.0467, 7.3732, 29.5315)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2096 #3C9620
analogous
#3F2096 #7A2096 #962077
triadic
#7A2096 #967A20 #20967A
tetradic
#7A2096 #963F20 #3C9620 #207796
square
#7A2096 #963F20 #3C9620 #207796
split-complementary
#7A2096 #779620 #20963F
monochromatic
#280A31 #511564 #7A2096 #A32BC8 #BB56DB

Accessibility & contrast

On white

8.49
#7A2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7A2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2096
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2096#FFFFFF#000000##FFFFFF
##7A20961.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#783B5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2096;
/* rgb */ color: rgb(122, 32, 150);
/* oklch */ color: oklch(44.4% 0.187 316.5);
Tailwind
colors: {
  custom: {
    50: '#a467b6',
    500: '#7a2096',
    950: '#000000',
  },
}
SCSS
$custom: #7a2096;
$custom-light: #a467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2096",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 285.763,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44376,
    "c": 0.18679,
    "h": 316.5
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#7A2096
secondary
#6DBE53
accent
#E84068
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2096

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

Preview Lab → · Contrast checker → · Palette generator →

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