#7A2196#7A2196

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

Color values

HEX#7A2196
RGBrgb(122, 33, 150)
HSLhsl(286, 64%, 36%)
HSVhsv(286, 78%, 59%)
CMYKcmyk(18.7%, 78%, 0%, 41.2%)
CIE-LABlab(32.76, 54.34, -45.40)
CIE-LCHlch(32.76, 70.81, 320.12°)
OKLaboklab(44.46% 0.1347 -0.1279)
OKLCHoklch(44.46% 0.186 316.5)
XYZxyz(14.0741, 7.4279, 29.5406)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2196 #3D9621
analogous
#3F2196 #7A2196 #962177
triadic
#7A2196 #967A21 #21967A
tetradic
#7A2196 #963F21 #3D9621 #217796
square
#7A2196 #963F21 #3D9621 #217796
split-complementary
#7A2196 #779621 #21963F
monochromatic
#280B32 #511664 #7A2196 #A32CC8 #BB57DA

Accessibility & contrast

On white

8.45
#7A2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2196
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2196#FFFFFF#000000##FFFFFF
##7A21961.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2196;
/* rgb */ color: rgb(122, 33, 150);
/* oklch */ color: oklch(44.5% 0.186 316.5);
Tailwind
colors: {
  custom: {
    50: '#a467b5',
    500: '#7a2196',
    950: '#000000',
  },
}
SCSS
$custom: #7a2196;
$custom-light: #a467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2196",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 285.641,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4446,
    "c": 0.18576,
    "h": 316.5
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#7A2196
secondary
#6EBE55
accent
#E74169
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2196

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

Preview Lab → · Contrast checker → · Palette generator →

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