#7A2193#7A2193

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

Color values

HEX#7A2193
RGBrgb(122, 33, 147)
HSLhsl(287, 63%, 35%)
HSVhsv(287, 78%, 58%)
CMYKcmyk(17%, 77.6%, 0%, 42.4%)
CIE-LABlab(32.55, 53.74, -43.90)
CIE-LCHlch(32.55, 69.40, 320.76°)
OKLaboklab(44.25% 0.1351 -0.1235)
OKLCHoklch(44.25% 0.183 317.6)
XYZxyz(13.8356, 7.3325, 28.2846)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2193 #3A9321
analogous
#412193 #7A2193 #932173
triadic
#7A2193 #937A21 #21937A
tetradic
#7A2193 #934121 #3A9321 #217393
square
#7A2193 #934121 #3A9321 #217393
split-complementary
#7A2193 #739321 #219341
monochromatic
#270B2F #511661 #7A2193 #A32CC5 #BC55D9

Accessibility & contrast

On white

8.51
#7A2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2193
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2193#FFFFFF#000000##FFFFFF
##7A21931.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#244F91
Tritanopia (blue-blind)
#793A59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2193;
/* rgb */ color: rgb(122, 33, 147);
/* oklch */ color: oklch(44.2% 0.183 317.6);
Tailwind
colors: {
  custom: {
    50: '#a467b3',
    500: '#7a2193',
    950: '#000000',
  },
}
SCSS
$custom: #7a2193;
$custom-light: #a467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2193",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 286.842,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.18308,
    "h": 317.6
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#7A2193
secondary
#6ABD53
accent
#E64166
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2193

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

Preview Lab → · Contrast checker → · Palette generator →

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