#7A3192#7A3192

#7A3192 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.162 H 316.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7A3192
RGBrgb(122, 49, 146)
HSLhsl(285, 50%, 38%)
HSVhsv(285, 66%, 57%)
CMYKcmyk(16.4%, 66.4%, 0%, 42.7%)
CIE-LABlab(34.82, 46.94, -39.65)
CIE-LCHlch(34.82, 61.44, 319.82°)
OKLaboklab(45.85% 0.1181 -0.1112)
OKLCHoklch(45.85% 0.162 316.7)
XYZxyz(14.3119, 8.4101, 28.0580)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3192 #499231
analogous
#493192 #7A3192 #923179
triadic
#7A3192 #927A31 #31927A
tetradic
#7A3192 #924931 #499231 #317992
square
#7A3192 #924931 #499231 #317992
split-complementary
#7A3192 #799231 #319249
monochromatic
#2D1236 #542264 #7A3192 #A041BF #B76FCF

Accessibility & contrast

On white

7.83
#7A3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7A3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3192
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3192#FFFFFF#000000##FFFFFF
##7A31921.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4D95
Deuteranopia (green-blind)
#325490
Tritanopia (blue-blind)
#79435D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a3192;
/* rgb */ color: rgb(122, 49, 146);
/* oklch */ color: oklch(45.8% 0.162 316.7);
Tailwind
colors: {
  custom: {
    50: '#a36fb2',
    500: '#7a3192',
    950: '#000000',
  },
}
SCSS
$custom: #7a3192;
$custom-light: #a36fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3192",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 285.155,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.16221,
    "h": 316.7
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#7A3192
secondary
#7CB669
accent
#D94F71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3192

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

Preview Lab → · Contrast checker → · Palette generator →

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