#7A2195#7A2195

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

Color values

HEX#7A2195
RGBrgb(122, 33, 149)
HSLhsl(286, 64%, 36%)
HSVhsv(286, 78%, 58%)
CMYKcmyk(18.1%, 77.9%, 0%, 41.6%)
CIE-LABlab(32.69, 54.14, -44.90)
CIE-LCHlch(32.69, 70.34, 320.33°)
OKLaboklab(44.39% 0.1348 -0.1265)
OKLCHoklch(44.39% 0.185 316.8)
XYZxyz(13.9939, 7.3958, 29.1183)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2195 #3C9521
analogous
#402195 #7A2195 #952176
triadic
#7A2195 #957A21 #21957A
tetradic
#7A2195 #954021 #3C9521 #217695
square
#7A2195 #954021 #3C9521 #217695
split-complementary
#7A2195 #769521 #219540
monochromatic
#280B31 #511663 #7A2195 #A32CC7 #BB57DA

Accessibility & contrast

On white

8.47
#7A2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2195
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2195#FFFFFF#000000##FFFFFF
##7A21951.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#783B5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2195;
/* rgb */ color: rgb(122, 33, 149);
/* oklch */ color: oklch(44.4% 0.185 316.8);
Tailwind
colors: {
  custom: {
    50: '#a467b5',
    500: '#7a2195',
    950: '#000000',
  },
}
SCSS
$custom: #7a2195;
$custom-light: #a467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2195",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 286.034,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.18487,
    "h": 316.8
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#7A2195
secondary
#6DBE54
accent
#E74168
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2195

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

Preview Lab → · Contrast checker → · Palette generator →

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