#7A2192#7A2192

#7A2192 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.182 H 317.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7A2192
RGBrgb(122, 33, 146)
HSLhsl(287, 63%, 35%)
HSVhsv(287, 77%, 57%)
CMYKcmyk(16.4%, 77.4%, 0%, 42.7%)
CIE-LABlab(32.48, 53.55, -43.40)
CIE-LCHlch(32.48, 68.93, 320.98°)
OKLaboklab(44.18% 0.1353 -0.1221)
OKLCHoklch(44.18% 0.182 317.9)
XYZxyz(13.7575, 7.3012, 27.8732)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2192 #399221
analogous
#422192 #7A2192 #922171
triadic
#7A2192 #927A21 #21927A
tetradic
#7A2192 #924221 #399221 #217192
square
#7A2192 #924221 #399221 #217192
split-complementary
#7A2192 #719221 #219242
monochromatic
#270A2E #501660 #7A2192 #A42CC4 #BD55D9

Accessibility & contrast

On white

8.54
#7A2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2192
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2192#FFFFFF#000000##FFFFFF
##7A21921.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#264F90
Tritanopia (blue-blind)
#793959
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2192;
/* rgb */ color: rgb(122, 33, 146);
/* oklch */ color: oklch(44.2% 0.182 317.9);
Tailwind
colors: {
  custom: {
    50: '#a467b3',
    500: '#7a2192',
    950: '#000000',
  },
}
SCSS
$custom: #7a2192;
$custom-light: #a467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2192",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 287.257,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.18218,
    "h": 317.9
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#7A2192
secondary
#69BC53
accent
#E64265
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2192

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

Preview Lab → · Contrast checker → · Palette generator →

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