#7A3386#7A3386

#7A3386 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.147 H 321.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7A3386
RGBrgb(122, 51, 134)
HSLhsl(291, 45%, 36%)
HSVhsv(291, 62%, 53%)
CMYKcmyk(9%, 61.9%, 0%, 47.5%)
CIE-LABlab(34.45, 43.49, -32.86)
CIE-LCHlch(34.45, 54.51, 322.93°)
OKLaboklab(45.35% 0.1155 -0.0914)
OKLCHoklch(45.35% 0.147 321.6)
XYZxyz(13.5125, 8.2271, 23.4259)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3386 #3F8633
analogous
#513386 #7A3386 #863369
triadic
#7A3386 #867A33 #33867A
tetradic
#7A3386 #865133 #3F8633 #336986
square
#7A3386 #865133 #3F8633 #336986
split-complementary
#7A3386 #698633 #338651
monochromatic
#29112D #52225A #7A3386 #A244B2 #BA6CC7

Accessibility & contrast

On white

7.94
#7A3386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7A3386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3386
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3386#FFFFFF#000000##FFFFFF
##7A33861.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#7B4057
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a3386;
/* rgb */ color: rgb(122, 51, 134);
/* oklch */ color: oklch(45.3% 0.147 321.6);
Tailwind
colors: {
  custom: {
    50: '#a36fa9',
    500: '#7a3386',
    950: '#000000',
  },
}
SCSS
$custom: #7a3386;
$custom-light: #a36fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3386",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 291.325,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.14725,
    "h": 321.6
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#7A3386
secondary
#70AF66
accent
#D55366
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A3386

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

Preview Lab → · Contrast checker → · Palette generator →

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